Fedora Rawhide glibc-2.22.90-6.fc24 shipping C.UTF-8 locale.

Carlos O'Donell carlos at redhat.com
Fri Sep 18 05:05:59 UTC 2015


Thanks to some great work by Mike FABIAN the Rawhide glibc is 
now shipping with a C.UTF-8 locale for use as a default UTF-8
locale. The locale can be referenced as "C.UTF-8" or "C.utf8".
Any feedback on the locale is greatly appreciated.

The locale is added to the pre-processed memory mapped locale
archive (/usr/lib/locale/locale-archive) which means there is
little to no performance impact for having this locale. However,
in order to make sure that the locale is robustly available in
all scenarios, including one in which a locale archive update
fails, the locale is added as /usr/lib/locale/C.utf8. Yes, this
means that the locale consumes 2x1.8MB on disk for this initial
implementation.

I consider this a real step forward to providing all the upper
stacks with a default UTF-8 locale that we can guarantee will
always be available.

Comments welcome.

Cheers,
Carlos.


More information about the devel mailing list