This is the mail archive of the
libc-alpha@sourceware.cygnus.com
mailing list for the glibc project.
Re: gettext and locale charset
- To: Pawel Krawczyk <kravietz at ceti dot pl>
- Subject: Re: gettext and locale charset
- From: Ulrich Drepper <drepper at cygnus dot com>
- Date: 24 Sep 1999 16:16:35 -0700
- Cc: libc-alpha at sourceware dot cygnus dot com
- References: <19990925001731.S5792@ceti.pl>
- Reply-To: drepper at cygnus dot com (Ulrich Drepper)
Pawel Krawczyk <kravietz@ceti.pl> writes:
> 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().
glibc 2.2 does what you want.
--
---------------. drepper at gnu.org ,-. 1325 Chesapeake Terrace
Ulrich Drepper \ ,-------------------' \ Sunnyvale, CA 94089 USA
Cygnus Solutions `--' drepper at cygnus.com `------------------------