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 BF41A11F676B for ; Wed, 29 Mar 2006 11:12:51 -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 40776-01-2 for ; Wed, 29 Mar 2006 11:12:50 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey- Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.177]) by postgresql.org (Postfix) with ESMTP id E044211F6663 for ; Wed, 29 Mar 2006 11:12:45 -0400 (AST) Received: from [84.143.12.112] (helo=[84.143.12.112]) by mrelayeu.kundenserver.de (node=mrelayeu3) with ESMTP (Nemesis), id 0MKxQS-1FOcLY46zn-0005a1; Wed, 29 Mar 2006 17:12:34 +0200 Message-ID: <442AA3E6.8070908@online.de> Date: Wed, 29 Mar 2006 17:12:38 +0200 From: Johann Zuschlag User-Agent: Thunderbird 1.5 (Windows/20051201) MIME-Version: 1.0 To: Ludek Finstrle CC: inoue@tpf.co.jp, dpage@vale-housing.co.uk, pgsql-odbc@postgresql.org Subject: Re: psqlODBC-Driver Test / text fields References: <442809D5.2030805@online.de> <44283279.3040506@tpf.co.jp> <442941A1.40309@online.de> <4429456F.5080405@online.de> <44294977.6060408@tpf.co.jp> <44294E11.2020502@online.de> <4429586D.30303@tpf.co.jp> <442967A1.908@online.de> <4429760F.2080608@tpf.co.jp> <442A88A5.30502@online.de> <20060329143450.GG18148@soptik.pzkagis.cz> In-Reply-To: <20060329143450.GG18148@soptik.pzkagis.cz> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Provags-ID: kundenserver.de abuse@kundenserver.de login:412dbd38c76468b7d75e624f8951f259 X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0.12 required=5 tests=[AWL=0.120] X-Spam-Score: 0.12 X-Spam-Level: X-Archive-Number: 200603/212 X-Sequence-Number: 7498 Ludek Finstrle schrieb: >> The last query is equivalent with: >> select name from kunde where name = 'ö' >> >> So I'm not surprised with the result ;-) >> >> What is the locale for backend? Isn't this the real problem? >> Hi Luf, sure, that is the same, but the result is 0 lines for both. :-) test-latin1=# select name from kunde where name = 'ö'; name ------ (0 Zeilen) the psql driver is definitely better than ever. In my (humble) opinion we don't need two drivers anymore. Thanks a lot for your work. So far all my tests with UNICODE, LATIN1 and SQL-ASCII databases seem to work with the new 7.02.260 driver on Win XP, (i.e. insert, update, select) My set-up is: PostgreSQL 8.0X on Debian Sarge Unicode or LATIN1 or SQL-ASCII Database locale=de_DE de_DE.ISO-8859-1 (default) de_DE.UTF-8 de_DE.UTF-8@euro de_DE.ISO-8859-15@euro changing to de_DE didn't change anything, client_encoding didn't help, since the problem doesn't seem to be related to the driver. Hiroshi tracked down the problem by doing the same query with the psql.-client. So you may be right that this an old problem. regards, Johann