X-Original-To: pgsql-odbc-postgresql.org@postgresql.org Received: from localhost (mx1.hub.org [200.46.208.251]) by postgresql.org (Postfix) with ESMTP id 861969FB4BA for ; Fri, 1 Sep 2006 19:10:24 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.208.251]) (amavisd-new, port 10024) with ESMTP id 45573-01-2 for ; Fri, 1 Sep 2006 19:10:16 -0300 (ADT) X-Greylist: domain auto-whitelisted by SQLgrey- Received: from pgfoundry.org (pgfoundry.org [200.46.204.130]) by postgresql.org (Postfix) with ESMTP id 682779FB4AD for ; Fri, 1 Sep 2006 17:55:33 -0300 (ADT) Received: from localhost (mx1.hub.org [200.46.208.251]) by pgfoundry.org (Postfix) with ESMTP id 1AE9E86C657; Fri, 1 Sep 2006 20:55:33 +0000 (UTC) Received: from pgfoundry.org ([200.46.204.130]) by localhost (mx1.hub.org [200.46.208.251]) (amavisd-new, port 10024) with ESMTP id 28584-10; Fri, 1 Sep 2006 17:54:26 -0300 (ADT) Received: by pgfoundry.org (Postfix, from userid 80) id 9148D86C69F; Fri, 1 Sep 2006 20:48:52 +0000 (UTC) To: noreply@pgfoundry.org From: Subject: [ psqlodbc-Bugs-1000692 ] Broken UTF-8 support in Version 08.02.0002 Content-type: text/plain; charset=UTF-8 Message-Id: <20060901204852.9148D86C69F@pgfoundry.org> Date: Fri, 1 Sep 2006 20:48:52 +0000 (UTC) X-Virus-Scanned: Maia Mailguard 1.0.1 X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=1.02 tagged_above=0 required=5 tests=AWL, NO_REAL_NAME X-Spam-Level: * X-Archive-Number: 200609/13 X-Sequence-Number: 8164 Bugs item #1000692, was opened at 2006-07-28 07: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: Nobody (None) Date: 2006-09-01 20:48 Message: I too am having trouble with unicode driver. I can confirm the data is utf-8, as is the db. The client is utf-8. The driver seems to break it however. Why is conn_encoding=other? Is that normal? DSN info: DSN='asdf',server='localhost',port='5432',dbase='omgmusic',user='asdf',passwd='asdf' onlyread='0',showoid='0',fakeoidindex='0',showsystable='0' conn_settings='',conn_encoding='OTHER' translation_dll='',translation_option='' ---------------------------------------------------------------------- Comment By: Clemens Schwaighofer (mugbuz) Date: 2006-08-01 05: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 07: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