Page 1 of 1

Postgres : PGCLIENTENCODING

Posted: 13.10.2009, 19:19
by gmb
Hi all

I'm getting the following message when trying to connect to Postgres server:
[quote]SQL Error: invalid encoding name in PGCLIENTENCODING: WIN1252[/quote]

Delphi 6 application with Zeos 6.1.5 on Windows 7 (64x), PostgreSQL 8.3

I tried re-installing PG using different encoding, but had no luck.

Postgres forums informed me that the message is not one of theirs. Probably a Zeos message then?

Any help would be appreciated.

gmbouwer

Posted: 13.10.2009, 21:06
by gmb
Seems all that was necessary was a restart of the server :(
...wish I hadn't spend the whole day on this

Posted: 14.10.2009, 00:56
by mdaems
invalid encoding name in PGCLIENTENCODING: WIN1252
Only this part was from postgres. The prefix is added by zeoslib hen handling a SQL error. So the postgres forums were right, but ont completely.

Mark