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 C557C11F6652 for ; Wed, 29 Mar 2006 09:16:27 -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 28520-08 for ; Wed, 29 Mar 2006 09:16:25 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey- Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.187]) by postgresql.org (Postfix) with ESMTP id 7A74211F6653 for ; Wed, 29 Mar 2006 09:16:23 -0400 (AST) Received: from [84.143.12.112] (helo=[84.143.12.112]) by mrelayeu.kundenserver.de (node=mrelayeu6) with ESMTP (Nemesis), id 0ML29c-1FOaX20StF-0001Tb; Wed, 29 Mar 2006 15:16:17 +0200 Message-ID: <442A88A5.30502@online.de> Date: Wed, 29 Mar 2006 15:16:21 +0200 From: Johann Zuschlag User-Agent: Thunderbird 1.5 (Windows/20051201) MIME-Version: 1.0 To: Hiroshi Inoue CC: 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> In-Reply-To: <4429760F.2080608@tpf.co.jp> 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/206 X-Sequence-Number: 7492 Hiroshi Inoue schrieb: > Johann Zuschlag wrote: > >> Hiroshi Inoue schrieb: >> >>> >>> Hmm utf8 code of a-umlaut seems bigger than 'z' . >>> >>> Well how is the result of the following(original ?) query >>> under default encoding ? >>> >>> select name from kunde where name >= 'ö' and name <= 'öz' order by >>> name asc; >>> >> ERROR: Unicode characters greater than or equal to 0x10000 are not >> supported > > > With the default encoding(ISO-8859-1 ?) ? > Oh, I misunderstood you. Do you mean the database default encoding? IIRC ISO-8859-1 would be equivalent to LATIN1? I generated a new database with the same data in LATIN1: test-latin1=# select name from kunde order by name asc; name -------------- Hühne Müller Täst test test-2 öä-test öäüÖÄÜß-test (7 Zeilen) test-latin1=# select name from kunde where name >= 'ö' and name <= 'öz' order by name asc; name ------ (0 Zeilen) And please note the following: test-latin1=# select name from kunde where name >= 'ö' and name <= 'ö' order by name asc; name ------ (0 Zeilen) Hmm... Regards, Johann