user names & non-ASCII

Started by Holec, JPH Softwareover 14 years ago1 messagesbugs
Jump to latest
#1Holec, JPH Software
holec@jphsw.cz

Hi All, please help.

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.
SET CLIENT_ENCODING TO 'WIN1250' after PQconnectdb is too late because connection fails.

Best regards,

Pavel Holec