WIN1251 localization

From: Yuriy Rusinov <yrusinov(at)gmail(dot)com>
To: POSTGRES <pgsql-general(at)postgresql(dot)org>
Subject: WIN1251 localization
Date: 2013-06-15 09:16:38
Message-ID: CAA5U4sxDvFBpzra-6Q_Jnf+2x38qgqSOpWkLcrW3gtkizsF_Ug@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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.

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Adrian Klaver 2013-06-15 13:53:08 Re: WIN1251 localization
Previous Message Marc Balmer 2013-06-15 08:37:50 Dynamic SQL in Lua