[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[gettext] Re: gettext charset conversion
From: |
Bruno Haible |
Subject: |
[gettext] Re: gettext charset conversion |
Date: |
Mon, 30 Apr 2001 18:08:35 +0200 (CEST) |
Edmund GRIMLEY EVANS wrote on 2000-01-24:
> Currently gettext does not do charset conversion, so I make my program
> call getttext("") to read the header, extract the charset, and do the
> conversion itself. However, I understand that in future gettext will
> do charset conversion. Is this correct?
Yes, gettext() in glibc-2.2 and gettext-0.10.37 now does the charset
conversion itself.
> How will gettext know the target charset?
The target charset is given by the LC_CTYPE locale, but you can
override that using bind_textdomain_codeset.
> Will gettext also convert the charset name contained in the header?
Doesn't matter, because the charset is assumed to be ASCII compatible,
and the charset name is written in ASCII.
Bruno
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [gettext] Re: gettext charset conversion,
Bruno Haible <=