pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Johann Zuschlag <zuschlag2@online.de>
To: Hiroshi Inoue <inoue@tpf.co.jp>
Cc: dpage@vale-housing.co.uk
Cc: pgsql-odbc@postgresql.org
Subject: Re: psqlODBC-Driver Test / text fields
Date: Wed, 29 Mar 2006 15:16:21 +0200
Message-ID: <442A88A5.30502@online.de> (raw)
In-Reply-To: <4429760F.2080608@tpf.co.jp>
References: <E7F85A1B5FF8D44C8A1AF6885BC9A0E4011C97F9@ratbert.vale-housing.co.uk>
	<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>

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




view thread (26+ messages)  latest in thread

Message-ID: <442A88A5.30502@online.de>
Permalink:  ../442A88A5.30502@online.de/
Also on:    postgresql.org/message-id/442A88A5.30502@online.de

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-odbc@postgresql.org
  Cc: zuschlag2@online.de, inoue@tpf.co.jp, dpage@vale-housing.co.uk
  Subject: Re: psqlODBC-Driver Test / text fields
  In-Reply-To: <442A88A5.30502@online.de>
  References: <E7F85A1B5FF8D44C8A1AF6885BC9A0E4011C97F9@ratbert.vale-housing.co.uk> <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>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox