From: ZF <zf.tech@gmail.com>
To: pgsql-odbc@postgresql.org
Subject: Bug or not about ASCII and Multi-Byte character set
Date: Sun, 14 Aug 2005 18:12:48 +0800
Message-ID: <001001c5a0b8$c8697bf0$64f2a8c0@sun> (raw)
version: psqlodbc 08.00.0101 and 08.00.0102
The server database encoding is ASCII in win2000. After inserting several multi-byte characters with pgAdmin3(version: 1.2.1), i found the odbc driver can't provide the right data (application is written in visual c++ and call ODBC API to access db server). All displayed multi-byte char set data were not correct but the ASCII data was right. However, pgAdmin3 can correctly insert and select all data .
Then i read the "mylog" file and found the multi-byte data have been got correctly from server.
Is it possible that some function (maybe the converting function) have a little bug?
P.S.
if the server db encoding is UNICODE and producing a new psqlodbc.dll through deleting all SQL*W function in 'psqlodbc_win32.def' file, i got Delphi applications using odbc driver can show all right data.
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-odbc@postgresql.org
Cc: zf.tech@gmail.com
Subject: Re: Bug or not about ASCII and Multi-Byte character set
In-Reply-To: <001001c5a0b8$c8697bf0$64f2a8c0@sun>
References: <001001c5a0b8$c8697bf0$64f2a8c0@sun>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox