Re: WIN1251 localization

From: Yuriy Rusinov <yrusinov(at)gmail(dot)com>
To: Adrian Klaver <adrian(dot)klaver(at)gmail(dot)com>
Cc: POSTGRES <pgsql-general(at)postgresql(dot)org>
Subject: Re: WIN1251 localization
Date: 2013-06-15 19:04:28
Message-ID: CAA5U4sxmdjTcXxAybfoZK1WwdTXZASyQHTYcuHsrMXbf_a3ceg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Postgres 9.1

utf-8

On Sat, Jun 15, 2013 at 5:53 PM, Adrian Klaver <adrian(dot)klaver(at)gmail(dot)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(dot)klaver(at)gmail(dot)com
>

--
Best regards,
Sincerely yours,
Yuriy Rusinov.

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Adrian Klaver 2013-06-15 21:25:45 Re: WIN1251 localization
Previous Message Adrian Klaver 2013-06-15 13:53:08 Re: WIN1251 localization