if client_encoding is UTF-8 then it should work, not sure what happens if server is SQL_ASCII.
Can you exec query via PQ component: SHOW client_encoding; ?
What's result of
SELECT datname,encoding,datcollate,datctype FROM pg_database; ?
What's postgresql version ?