zisi1(at)gmx(dot)net wrote:
>
> Hi,
>
> I have the problem described below in an ODBC application which
> occurs only with PostgreSQL and PostgreSQL-ODBC drivers:
>
> When I fetch string data via ODBC of a column with the "text"
> datatype (but also when the datatype is "varchar") of a unicode
> encoded database into a SQLWCHAR-buffer, the string termination
> in the out-buffer is set wrong, as only the first byte of the
> string-termination is set to 0 (i.e., SQLWCHAR character at
> relevant position is 0xcdcd before fetch, and set to 0xcd00 after
> fetch instead of 0x000).
Could you try the dll at
http://www.geocities.jp/inocchichichi/psqlodbc/ ?
regards,
Hiroshi Inoue