Re: More message encoding woes

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: More message encoding woes
Дата
Msg-id 8233.1238607400@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: More message encoding woes  (Hiroshi Inoue <inoue@tpf.co.jp>)
Ответы Re: More message encoding woes  (Hiroshi Inoue <inoue@tpf.co.jp>)
Список pgsql-hackers
Hiroshi Inoue <inoue@tpf.co.jp> writes:
> Heikki Linnakangas wrote:
>> I just tried that, and it seems that gettext() does transliteration, so 
>> any characters that have no counterpart in the database encoding will be 
>> replaced with something similar, or question marks.

> It doesn't occur in the current Windows environment. As for Windows
> gnu gettext which we are using, we would see the original msgid when
> iconv can't convert the msgstr to the target codeset.

Well, if iconv has no conversion to the codeset at all then there is no
point in selecting that particular codeset setting anyway.  The question
was about whether we can distinguish "no conversion available" from
"conversion available, but the test string has some unconvertible
characters".
        regards, tom lane


В списке pgsql-hackers по дате отправления:

Предыдущее
От: "David E. Wheeler"
Дата:
Сообщение: Re: [GENERAL] string_to_array with empty input
Следующее
От: Martijn van Oosterhout
Дата:
Сообщение: Re: SSL over Unix-domain sockets