Possible encoding issue (win7)

Поиск
Список
Период
Сортировка
От gmb
Тема Possible encoding issue (win7)
Дата
Msg-id 75dfd540-b394-4f26-b1cc-aa286db0f977@v25g2000yqk.googlegroups.com
обсуждение исходный текст
Ответы Re: Possible encoding issue (win7)  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-general
Hi

Using a Delphi app with ZEOS components to connect to server (on
localhost) and get this message:
SQL Error: invalid encoding name in PGCLIENTENCODING: WIN1252
(Running Windows 7 (64x), postgres 8.3.7)

Initially I installed with server and client encoding as WIN1252. But
since I got the error I tried an re-installing with
locale = C, encoding = LATIN1 (server and client). But this did not
solve the problem.

From the little info I found on the web, I also tried "SET
CLIENT_ENCODING TO 'LATIN1'" but also had no effect.
Read a couple of times about *environment variable* PGCLIENTENCODING,
but could find no such variable.

Heard about colleagues having some problems installing on Windows7.
Could this be one of them?

 Any help would be appreciated.

gmbouwer

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

Предыдущее
От: Peter Geoghegan
Дата:
Сообщение: Re: Best data type to use for sales tax percent
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Possible encoding issue (win7)