WIN1251 localization - Mailing list pgsql-general

From Yuriy Rusinov
Subject WIN1251 localization
Date
Msg-id CAA5U4sxDvFBpzra-6Q_Jnf+2x38qgqSOpWkLcrW3gtkizsF_Ug@mail.gmail.com
Whole thread Raw
Responses Re: WIN1251 localization
List pgsql-general

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 ?

--
Best regards,
Sincerely yours,
Yuriy Rusinov.

pgsql-general by date:

Previous
From: Marc Balmer
Date:
Subject: Dynamic SQL in Lua
Next
From: Adrian Klaver
Date:
Subject: Re: WIN1251 localization