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

Re: determining locale's character set



Hi!

>How well are the possible values of nl_langinfo(CODESET) standardised,
>and how widely is <langinfo.h> available?


 Some time ago I wrote in this list :
http://mail.nl.linux.org/linux-utf8/1999-09/msg00095.html

 The nl_langinfo() not defined in POSIX, so many POSIX-compliant
*NIXes does not have this function. FreeBSD, for example.

 And one more difficult question. Nor POSIX nor XPG does not have
support for Charset Aliases as defined by IANA/IETF :
http://www.isi.edu/in-notes/iana/assignments/character-sets
So, you can get any Alias from nl_langinfo(CODESET), not
right (MIME preferred) name of your current Charset.

--
-=AV=-

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