Postgres 9.1

utf-8


On Sat, Jun 15, 2013 at 5:53 PM, Adrian Klaver <adrian.kla...@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.kla...@gmail.com
>



-- 
Best regards,
Sincerely yours,
Yuriy Rusinov.

Reply via email to