Re: More message encoding woes

Поиск
Список
Период
Сортировка
От Heikki Linnakangas
Тема Re: More message encoding woes
Дата
Msg-id 49DB2B4D.9090906@enterprisedb.com
обсуждение исходный текст
Ответ на Re: More message encoding woes  (Hiroshi Inoue <inoue@tpf.co.jp>)
Ответы Re: More message encoding woes  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
Hiroshi Inoue wrote:
> What is wrong with checking if the codeset is valid using iconv_open()?

That would probably work as well. We'd have to decide what we'd try to 
convert from with iconv_open(). Utf-8 might be a safe choice. We don't 
currently use iconv_open() anywhere in the backend, though, so I'm 
hesitant to add a dependency for this. GNU gettext() uses iconv, but I'm 
not sure if that's true for all gettext() implementations.

Peter's suggestion seems the best ATM, though.

--   Heikki Linnakangas  EnterpriseDB   http://www.enterprisedb.com


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

Предыдущее
От: Hiroshi Inoue
Дата:
Сообщение: Re: More message encoding woes
Следующее
От: Magnus Hagander
Дата:
Сообщение: Re: Path separator