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