Should glibc provide a builtin C.UTF-8 locale?

Joseph Myers joseph@codesourcery.com
Thu Feb 12 12:12:00 GMT 2015


On Wed, 11 Feb 2015, Carlos O'Donell wrote:

> When I say "like C" I mean that setting "C.UTF8" in LC_ALL would
> ignore LANGUAGE, as is required when setting LC_ALL to "C".

"Like C" could also mean that ASCII characters (and probably all 
characters) are collated in code-point order (so, for example, all 
uppercase ASCII letters come before all lowercase).  Or do you think the 
right way to achieve that minimal extension of the C locale to UTF-8 is to 
set only LC_CTYPE and not LC_COLLATE or LC_ALL?

-- 
Joseph S. Myers
joseph@codesourcery.com



More information about the Libc-alpha mailing list