Re: PostgreSQL 8.3.5 client_encoding WIN1251 trouble

Поиск
Список
Период
Сортировка
От Stephane Bortzmeyer
Тема Re: PostgreSQL 8.3.5 client_encoding WIN1251 trouble
Дата
Msg-id 20081128163020.GA30774@nic.fr
обсуждение исходный текст
Ответ на PostgreSQL 8.3.5 client_encoding WIN1251 trouble  ("Dr.ONE" <drone76@mail.ru>)
Список pgsql-general
On Tue, Nov 25, 2008 at 04:19:27PM +0300,
 Dr.ONE <drone76@mail.ru> wrote
 a message of 22 lines which said:

> I have database in KOI8-R encoding. ... ERROR: character 0x8b9a of
> encoding "MULE_INTERNAL" has no equivalent in "WIN1251"

Are you sure it is KOI8? The KOI8 encoding is monobyte and you can see
in PostgreSQL message a two-bytes character and MULE_INTERNAL is not
KOI8 <http://www.postgresql.org/docs/current/interactive/multibyte.html>

[My advice is to always put the database in UTF-8 but that's another
story.]

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

Предыдущее
От: Ioana Danes
Дата:
Сообщение: Re: Using postgres.log file for replication
Следующее
От: Tom Lane
Дата:
Сообщение: Re: [TextSearch] syntax error while parsing affix file