> Can anyone help me with this?
>
> In what encoding the function PQgetvalue() return?
> ASCII? UTF8?
It returns in whatever client encoding you are using:
test=> SHOW client_encoding;
client_encoding
-----------------
SQL_ASCII
(1 row)
--
Bruce Momjian <bruce@momjian.us> http://momjian.us
EnterpriseDB http://enterprisedb.com
+ If your life is a hard drive, Christ can be your backup. +