Re: MULE_INTERNAL translation to win1250

Поиск
Список
Период
Сортировка
От Michael Fuhr
Тема Re: MULE_INTERNAL translation to win1250
Дата
Msg-id 20070129051504.GA85598@winnie.fuhr.org
обсуждение исходный текст
Ответ на Re: MULE_INTERNAL translation to win1250  (Michael Fuhr <mike@fuhr.org>)
Список pgsql-general
On Sun, Jan 28, 2007 at 07:27:12PM -0700, Michael Fuhr wrote:
> I wonder if the OP is doing something like this:
[...]
> test=> INSERT INTO test VALUES (E'\202\232'); -- \202=0x82, \232=0x9a

Another possibility, perhaps more likely, is that some connection
didn't set client_encoding to win1250 before it inserted win1250-encoded
data; in that case the data was probably treated as LATIN2 and
stored without conversion.  When a connection with client_encoding
set to win1250 tries to fetch the data, conversion is attempted and
fails because some LATIN2 values don't have win1250 mappings.

--
Michael Fuhr

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

Предыдущее
От: "Joshua D. Drake"
Дата:
Сообщение: Re: Load balancing across disks
Следующее
От: "Pierre Thibaudeau"
Дата:
Сообщение: convert(USING utf8_to_iso_8859_15) on Windows