This is the mail archive of the
libc-alpha@sourceware.cygnus.com
mailing list for the glibc project.
gettext and locale charset
- To: libc-alpha at sourceware dot cygnus dot com
- Subject: gettext and locale charset
- From: Pawel Krawczyk <kravietz at ceti dot pl>
- Date: Sat, 25 Sep 1999 00:17:31 +0200
- Organization: CETI internet services, Krakow, Poland
Does gettext() support multiple charsets on output? Consider situation,
where we have .mo language files installed with national characters
in ISO-8859-2. The LC_MESSAGES is set to "pl_PL.UTF-8", and the display
is UTF-8 capable. The translated strings are still displayed with
ISO encoded characters, which are invalid under UTF-8.
Which is correct solution to this problem? Should I have different .mo
sets both for ISO and UTF-8? Or will it be solved on glibc level? It
seems to be easy using gconv().
--
Pawel Krawczyk, CETI internet, Krakow. http://ceti.pl/~kravietz/