Possible encoding issue (win7)

From: gmb <gmbouwer(at)gmail(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Possible encoding issue (win7)
Date: 2009-10-13 15:01:46
Message-ID: 75dfd540-b394-4f26-b1cc-aa286db0f977@v25g2000yqk.googlegroups.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Steve Crawford 2009-10-13 15:53:01 Re: Best data type to use for sales tax percent
Previous Message Peter 2009-10-13 14:51:21 JMS question