|
|
|
|
|
by int_19h
3403 days ago
|
|
> The general consensus on how to handle this correctly is to make everything a bytestring and assume the encoding as being UTF8 by default. Whose "general consensus"? It's certainly not the approach adopted by the vast majority of mainstream general-purpose programming languages out there. |
|
But if you were to find any sensible designer of new language with skyrocketing, runaway popularity- such as Rob Pike, they'll tell you differently. Or even Guido van Rossum, if he were to be honest with you. While Pike's colleagues at Bell Labs like Dennis Ritchie may not have designed C this way for obvious reasons, they did design Go that way.