On Thu, Dec 15, 2011 at 3:40 PM, Holec, JPH Software <holec@jphsw.cz> wrote:
> I Have PostgreSQL server 8.4.9 on Linux, database utf-8 and=A0Client app =
on
> Windows (VC++ and libpq.dll).
> I need to use user account with non-ASCII and PQconnectdb()=A0with
> options=3D"client_encoding=3DWIN1250" doesn't work.
I think you need a "-c" in there somewhere, maybe something like this:
options=3D'-cclient_encoding=3DWIN1250'
...although, for some reason, I can't get that to work from psql, even
though I can set other parameters using that syntax.
--=20
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company