Supported locales list update

Markus Kuhn Markus.Kuhn@cl.cam.ac.uk
Fri Nov 3 01:22:00 GMT 2000


At least those UTF-8 locales that are most likely to be used in FAQs and
HOWTOs as examples should also appear in the localedata/SUPPORTED list.

Patch attached.

Also: Would it be possible to add a "C.UTF-8" and "C.ISO8859-1" locale?
It would be extremely convenient to have such locales that activate just
certain encodings, but that behave in all other aspects (in particular
sorting!) not different from the "C" locale.

For example, if I select "en_GB.ISO8859-1", then ls starts to sort
"properly" uppercase and lowercase characters together, although I do
prefer the classic stupid "C" strcmp sorting scheme that makes sure that
README and Makefile show up at the beginning of the listing. A
"C.ISO8859-1" locale would fix this easily. Note that stupid strcmp
sorting on UTF-8 is also "C" and "C.ISO8859-1" compatible and
practically useful.

Markus

-- 
Markus G. Kuhn, Computer Laboratory, University of Cambridge, UK
Email: mkuhn at acm.org,  WWW: < http://www.cl.cam.ac.uk/~mgk25/ >



More information about the Libc-alpha mailing list