Skip site navigation (1) Skip section navigation (2)

PostgreSQL 8.3.5 client_encoding WIN1251 trouble

From: "Dr(dot)ONE" <drone76(at)mail(dot)ru>
To: pgsql-general(at)postgresql(dot)org
Subject: PostgreSQL 8.3.5 client_encoding WIN1251 trouble
Date: 2008-11-25 13:19:27
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-general

Still having troubles with client_encoding
I have database in KOI8-R encoding. When I try to SET NAMES 'WIN' and
do a select, I have such error:

ERROR:  character 0x8b9a of encoding "MULE_INTERNAL" has no equivalent
in "WIN1251"

The database is about 3Gb size and needs to be in koi8, but client
encoding needs to be windows-1251

What should I do? Searching mailing list gives patches to
cyrillic_and_mic.c for such kind of problems, but in PostgreSQL v8.3.5
 they're alredy in (out of the box).

Please help...


pgsql-general by date

Next:From: Tom LaneDate: 2008-11-25 13:19:40
Subject: Re: Place of subselect
Previous:From: Rafael MartinezDate: 2008-11-25 13:13:01
Subject: Re: two or more pg installations running as the same user

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group