This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


On 10/27/2015 01:22 PM, Mike FABIAN wrote:
>      Do we care how a C.UTF-8 locale sorts outside of the ASCII range?

Maybe I'm approaching this from completely the wrong end, but I think
âLC_ALL=C sortâ and âLC_ALL=C.UTF-8 sortâ should have the same ordering
and speedâotherwise C.UTF-8 is somewhat less useful than it could be.  I
think this means lexicographical ordering by unsigned bytes.  Thanks to
UTF-8 magic, that coincides with codepoint ordering for well-encoded UTF-8.

Florian


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]