Re: PostgreSQL 8.3.5 client_encoding WIN1251 trouble - Mailing list pgsql-general

From Stephane Bortzmeyer
Subject Re: PostgreSQL 8.3.5 client_encoding WIN1251 trouble
Date
Msg-id 20081128163020.GA30774@nic.fr
Whole thread Raw
In response to PostgreSQL 8.3.5 client_encoding WIN1251 trouble  ("Dr.ONE" <drone76@mail.ru>)
List 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 by date:

Previous
From: Ioana Danes
Date:
Subject: Re: Using postgres.log file for replication
Next
From: Tom Lane
Date:
Subject: Re: [TextSearch] syntax error while parsing affix file