Roozbeh Pournader writes: > Will you accept 'fa_IR' as another example?
Another example for why using "nl_langinfo(CODESET)" or "locale charmap" is far better than looking at the environment variables with obscure rules: On many systems, the locale "de_DE" (and others) will soon have to change the charmap from "ISO-8859-1" to "ISO-8859-15". At least 12 of the pre-euro locales will become obsolete in 11 days from now (people on the continent received already their first euro coins this week to practice). The mapping between locale names and encodings should really be left to where it belongs, namely the C library. Markus -- Markus G. Kuhn, Computer Laboratory, University of Cambridge, UK Email: mkuhn at acm.org, WWW: <http://www.cl.cam.ac.uk/~mgk25/> -- Linux-UTF8: i18n of Linux on all levels Archive: http://mail.nl.linux.org/linux-utf8/
