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 02/11/2015 04:03 PM, Joseph Myers wrote:
> On Wed, 11 Feb 2015, Carlos O'Donell wrote:
> 
>> Is anyone opposed to having glibc contain a builtin C.UTF-8 locale?
> 
> What's the advantage of this being built-in, rather than simply shipped 
> with glibc for compiling with localedef (and listed in 
> localedata/SUPPORTED) like all the other locales?

The only advantage, and the main reason for having it is that it can
be depended upon at all times regardless of the state of the operating
system, mounted filesystems, or user removal of locales.

Thus if a developer deploys for say a future RHEL8 with glibc X.Y, where
X.Y has a builtin C.UTF-8, they can with certain knowledge know it is
always there regardless of administrative configuration. Just like they
depend on our core APIs.

I'm sorry if I didn't make that clear.

Cheers,
Carlos.


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