Re: WIN1251 localization - Mailing list pgsql-general

From Yuriy Rusinov
Subject Re: WIN1251 localization
Date
Msg-id CAA5U4sxmdjTcXxAybfoZK1WwdTXZASyQHTYcuHsrMXbf_a3ceg@mail.gmail.com
Whole thread Raw
In response to Re: WIN1251 localization  (Adrian Klaver <adrian.klaver@gmail.com>)
Responses Re: WIN1251 localization
Re: WIN1251 localization
Re: WIN1251 localization
List pgsql-general
Postgres 9.1

utf-8


On Sat, Jun 15, 2013 at 5:53 PM, Adrian Klaver <adrian.klaver@gmail.com> wrote:
On 06/15/2013 02:16 AM, Yuriy Rusinov wrote:

Hello, All !

I am developing database. Initial scripts contains information in
win1251 encoding. Now I have received problem

c_db1=# \encoding WIN1251
WIN1251: invalid encoding name or conversion procedure not found
c_db1=#

locale in system was defined by this
$ sudo localedef -c -i ru_RU -f CP1251 ru_RU.CP1251

$locale -a | grep ru
ru_RU.cp1251
ru_RU.utf8
ru_UA.utf8

system ubuntu linux 11.10, where is an error and how to correct this ?

What version of Postgres?

What is the database server encoding set to?



--
Best regards,
Sincerely yours,
Yuriy Rusinov.


--
Adrian Klaver
adrian.klaver@gmail.com



--
Best regards,
Sincerely yours,
Yuriy Rusinov.

pgsql-general by date:

Previous
From: Adrian Klaver
Date:
Subject: Re: WIN1251 localization
Next
From: Adrian Klaver
Date:
Subject: Re: WIN1251 localization