This is the mail archive of the libc-alpha@sourceware.cygnus.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: gettext and locale charset


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   `------------------------

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]