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