Ricardas Cepas writes:

> I now about nl_langinfo(CODESET) but this doesn't always work

If you are not satisfied with nl_langinfo(CODESET) you can try
locale_codeset() from [1]. It's a portable wrapper around
nl_langinfo(CODESET).

Bruno

[1] ftp://ftp.ilog.fr/pub/Users/haible/gnu/libcharset-0.1.tar.gz
-
Linux-UTF8:   i18n of Linux on all levels
Archive:      http://mail.nl.linux.org/lists/

Reply via email to