X-Original-To: pgsql-odbc-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by postgresql.org (Postfix) with ESMTP id 02E209DCA05 for ; Mon, 27 Mar 2006 14:44:13 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 38961-03 for ; Mon, 27 Mar 2006 14:44:13 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey- Received: from sd.tpf.co.jp (ftp.tpf.co.jp [210.161.239.34]) by postgresql.org (Postfix) with SMTP id DAC6F9DC992 for ; Mon, 27 Mar 2006 14:44:09 -0400 (AST) Received: (qmail 12252 invoked from network); 28 Mar 2006 03:44:09 +0900 X-Authentication: inoue was authenticated by mail.tpf.co.jp at 28 Mar 2006 03:44:09 +0900 Received: from unknown (HELO ?192.168.11.2?) (219.61.40.10) by mail.tpf.co.jp with SMTP; 28 Mar 2006 03:44:09 +0900 Message-ID: <44283279.3040506@tpf.co.jp> Date: Tue, 28 Mar 2006 03:44:09 +0900 From: Hiroshi Inoue User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: ja, en-us, en MIME-Version: 1.0 To: Johann Zuschlag CC: Dave Page , pgsql-odbc@postgresql.org Subject: Re: psqlODBC-Driver Test / text fields References: <442809D5.2030805@online.de> In-Reply-To: <442809D5.2030805@online.de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0.106 required=5 tests=[AWL=0.106] X-Spam-Score: 0.106 X-Spam-Level: X-Archive-Number: 200603/185 X-Sequence-Number: 7471 Johann Zuschlag wrote: > Dave Page schrieb: > >> OK, that sounds like the old bug we were seeing. What is the difference >> between those and the previous results you reported a few minutes ago? >> Is it just the text/varchar difference? >> >> Regards, Dave. >> >> >> > > Hi Dave, > > the problem doesn't seem to be related to the text field. Please note > the examples below: > > 2. Searching for a string starting with o-Umlaut (german character) > doesn't return any results (in my app.). > > 2006-03-27 16:50:37 [2931] LOG: statement: declare "SQL_CUR0210FD50" > cursor with hold for SELECT t6.* FROM KUNDE t6 WHERE t6.name >= 'ö' > AND t6.name <= 'öz' ORDER BY t6.name ASC, t6.kundenid ASC > > Maybe the WHERE-statement is not parsed by the driver. But the hex > representation of 'ö' is 'C3B6', that is the correct UTF8 code (not > unicode) of o-Umlaut. Hi Johann, Could you try the same query using psql with the client_encoding 'UTF8' ? regards, Hiroshi Inoue