[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

nl_langinfo(CODESET) again



In glibc-2.2, will the charset returned by nl_langinfo(CODESET) be a
MIME-compatible name such as "us-ascii" or "iso-8859-15"?

In the meantime, and for compatibility with other C libraries, does
anyone have code for converting common nl_langinfo(CODESET) names into
names that can be used in e-mail?

I recently put code into Mutt to use nl_langinfo(CODESET) for the
default charset, and people are already complaining about ill-effects
caused by "ISO8859-15", for example.

Edmund
-
Linux-UTF8:   i18n of Linux on all levels
Archive:      http://mail.nl.linux.org/lists/