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 2D4FF9FA5D8 for ; Wed, 14 Jun 2006 09:11:19 -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 54432-06 for ; Wed, 14 Jun 2006 09:11:14 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey- Received: from new-mail.nec.com.cn (new-mail.nec.com.cn [211.100.22.21]) by postgresql.org (Postfix) with ESMTP id 22F809F9CAA for ; Wed, 14 Jun 2006 09:11:12 -0300 (ADT) Received: from internal-mail.nec.com.cn ([172.28.88.254]) by new-mail.nec.com.cn with ESMTP id k5ECAwEx097135 for ; Wed, 14 Jun 2006 20:10:58 +0800 (CST) (envelope-from zhaox@necas.nec.com.cn) Received: from mailsv.necas.nec.com.cn (localhost.localdomain [127.0.0.1]) by internal-mail.nec.com.cn (Postfix) with ESMTP id 5B7B0178005 for ; Wed, 14 Jun 2006 20:26:31 +0800 (CST) Received: from [172.28.9.250] (jianglong.necas.nec.com.cn [172.28.9.250]) by mailsv.necas.nec.com.cn (8.11.6/8.11.6) with ESMTP id k5ECAw814283 for ; Wed, 14 Jun 2006 20:10:58 +0800 Message-ID: <448FFC94.6060202@necas.nec.com.cn> Date: Wed, 14 Jun 2006 20:09:56 +0800 From: zhaoxin User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: en-us, en MIME-Version: 1.0 To: pgsql-odbc@postgresql.org Subject: Re: Qustions about psqlODBC 08.02 References: <4489433D.2050904@necas.nec.com.cn> <44894828.1090107@samwel.tk> In-Reply-To: <44894828.1090107@samwel.tk> Content-Type: text/plain; charset=Shift_JIS Content-Transfer-Encoding: 7bit X-MAIL: new-mail.nec.com.cn k5ECAwEx097135 X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200606/100 X-Sequence-Number: 7848 To:Bart Thanks for you response . > > As you can see, it's Unicode versus ANSI. You obviously used the ANSI > driver in the 8.01 series. It's correct, really -- the driver merely But I am sure that I used the Unicode driver with the default settings . it need some other setting ? > specifies that the data that it has is Unicode data. If you want to > retrieve it using ANSI encoding, that's no problem, just request the > columns using the SQL_C_CHAR type to indicate that you want to get your > data back in a single-byte ANSI encoding. What differents between Unicode and ANSI driver in usage ? if I want to get the same behavior from 8.02 with 8.01 driver that I used , how can I do ? BTW I don't understand the words : " just request the columns using the SQL_C_CHAR type ", Could you give me a example ? thank you very much ! Regards, zhao > Cheers, > Bart > > ---------------------------(end of broadcast)--------------------------- > TIP 1: if posting/reading through Usenet, please send an appropriate > subscribe-nomail command to majordomo@postgresql.org so that your > message can get through to the mailing list cleanly > --