How to use a db in UTF-8 encoding under Windows

Поиск
Список
Период
Сортировка
От lists@kambanaria.org
Тема How to use a db in UTF-8 encoding under Windows
Дата
Msg-id 42523.88.203.201.242.1261237362.squirrel@webmail.openintegra.com
обсуждение исходный текст
Список pgsql-novice
Hi everyone,

I have a problem with a 8.2.15 PG database under Linux when I try to
connect from a 8.2.15 Windows client (psql)

As per the Notice for Windows users I set the font of cmd.exe to Lucida
console and then change the codepage to UTF-8:
chcp 65001
Then when I try to make a select or any \d command I get "Not enough memory"

I tried with setting the codepage to 1251 (that is the native on Windows)
and I can do all selects, insert - however the ecnoding is wrong and I
cannot actually use the db as it contains non ASCII symbols.

I see that there was a bug for this. Is there a work around?

Kind regards:
al_shopov

В списке pgsql-novice по дате отправления:

Предыдущее
От: Marco Craveiro
Дата:
Сообщение: Re: Problems with stored procedure (function)
Следующее
От: Mladen Gogala
Дата:
Сообщение: Re: Conditionally executing multiple statements in series as single SQL statement