This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: Should glibc provide a builtin C.UTF-8 locale?
- From: Joseph Myers <joseph at codesourcery dot com>
- To: Carlos O'Donell <carlos at redhat dot com>
- Cc: Paul Eggert <eggert at cs dot ucla dot edu>, GNU C Library <libc-alpha at sourceware dot org>
- Date: Thu, 12 Feb 2015 12:12:08 +0000
- Subject: Re: Should glibc provide a builtin C.UTF-8 locale?
- Authentication-results: sourceware.org; auth=none
- References: <54DB8243 dot 3050903 at redhat dot com> <54DBFA8D dot 8030107 at cs dot ucla dot edu> <54DC0546 dot 3080102 at redhat dot com>
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