Add PQsetClientEncoding(conn, "SQL_ASCII") to the pgsql module.
drwxr-xr-x - configs
drwxr-xr-x - doc
drwxr-xr-x - src
drwxr-xr-x - test