3 ms·
>When locales were invented, it was reasonable to assume that the locale would determine the character set Sure, but that's not what the commit is saying. Inst
by simias 7y ago
>When locales were invented, it was reasonable to assume that the locale would determine the character set
Sure, but that's not what the commit is saying. Instead it's saying that it should only determine the charset and that Unicode effectively makes locales pointless. That's absolutely not the case, there's a lot more to locales than character encoding.
- mark-r 7y agoI think we're in agreement. There are lots of aspects to a locale, and character sets are only a small part of that. Possibly the most visible part though. Unicode doesn't make character sets pointless, it only makes them deprecated. It's still useful to have a way to convert from one set to another, and it's a shame the standard library doesn't have an easy way to do that. The deficiencies of locales are visible only in hindsight.