From: noreply@pgfoundry.org
To: noreply@pgfoundry.org
Subject: [ psqlodbc-Bugs-1000692 ] Broken UTF-8 support in Version 08.02.0002
Date: Tue, 1 Aug 2006 05:22:06 +0000 (UTC)
Message-ID: <20060801052206.AB0BF86D74E@pgfoundry.org> (raw)
Bugs item #1000692, was opened at 2006-07-28 16:14
You can respond by visiting:
http://pgfoundry.org/tracker/?func=detail&atid=538&aid=1000692&group_id=1000125
Category: None
Group: None
Status: Open
Resolution: None
Priority: 3
Submitted By: Nobody (None)
Assigned to: Nobody (None)
Summary: Broken UTF-8 support in Version 08.02.0002
Initial Comment:
I have an english Windows 2000 with this driver, that connects to a 8.1.4 postgres DB. Previous I use the 7.4 version.
With the old driver (I guess some 7 version, I cannot find the exat string) I could connect to 7.4 version and get UTF-8 data (in this case japanese) without any issues. I added the "SET client_encoding TO 'UTF-8' in my db connect script.
Once I upgraded to the new driver I just get ??? back from the db. From both, either the 8.1 or the 7.4. I tried the old driver on the new db, but that doesn't work either.
I also tried the Postgres "UNICODE" driver, but there I get also just ??? back.
So I had to revert my upgrade for now. Is there any debug data I can provide? Client or Server side?
----------------------------------------------------------------------
Comment By: Clemens Schwaighofer (mugbuz)
Date: 2006-08-01 14:22
Message:
I see "SEL_C_WCHAR" popping up in the mylog file. All the data in the mylog is correct UTF-8. Just when I read the data in with the ASP code I just get question marks where before I got the correct UTF-8 data.
I have changed nothing on the system nor in the code. The only thing I did, was upgrading the PSQL drivers and since then I have this mojibake problem.
----------------------------------------------------------------------
Comment By: Ludek Finstrle (luf)
Date: 2006-07-28 16:23
Message:
Hello,
it's interesting for me how you access the data? Do you request unicode data (SQL_WCHAR) or only ansi (SQL_CHAR)?
If you don't know please send me the mylog output (odbc driver option in Global and DataSource).
Regards,
Luf
----------------------------------------------------------------------
You can respond by visiting:
http://pgfoundry.org/tracker/?func=detail&atid=538&aid=1000692&group_id=1000125
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: noreply@pgfoundry.org
Subject: Re: [ psqlodbc-Bugs-1000692 ] Broken UTF-8 support in Version 08.02.0002
In-Reply-To: <20060801052206.AB0BF86D74E@pgfoundry.org>
References: <20060801052206.AB0BF86D74E@pgfoundry.org>
* 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