Thread: upper/lower for german characters

upper/lower for german characters

From
"Andrei Bintintan"
Date:
Hi to all, I have the problem that:

select lower('MöBÜEL') or select upper('MöBÜEL') are not working well.

I read on some forums that there is some locale setting that needs to be done here, but could not fix this.

I am using the ASCII encoding.

 

Please advice.

Thakx.
Andy.

Re: [SQL] upper/lower for german characters

From
Markus Schaber
Date:
Hi, Andrei,

On Tue, 9 Nov 2004 16:58:27 +0200
"Andrei Bintintan" <klodoma@ar-sd.net> wrote:

> Hi to all, I have the problem that:
> select lower('MöBÜEL') or select upper('MöBÜEL') are not working well.
>
> I read on some forums that there is some locale setting that needs to
> be done here, but could not fix this.
>
> I am using the ASCII encoding.

By definition, ASCII does not contain any umlauts.

So I would advise that, first, you switch to an umlaut capable encoding
(e. G. Latin1, Latin9 or UTF-8).

HTH,
Markus

--
markus schaber | dipl. informatiker
logi-track ag | rennweg 14-16 | ch 8001 zürich
phone +41-43-888 62 52 | fax +41-43-888 62 53
mailto:schabios@logi-track.com | www.logi-track.com

Re: [SQL] upper/lower for german characters

From
"Contact AR-SD.NET"
Date:
Hi Markus,

I tried different types of encoding, LATIN1 to LATIN 9, still the same
behavior. I read a few forums, but there I couldn't find a concrete answer
for this.

So... still searching.

Best regards,
Andy.

----- Original Message -----
From: "Markus Schaber" <schabios@logi-track.com>
To: "Andrei Bintintan" <klodoma@ar-sd.net>
Cc: <pgsql-sql@postgresql.org>; <pgsql-admin@postgresql.org>
Sent: Tuesday, November 09, 2004 7:59 PM
Subject: Re: [SQL] upper/lower for german characters


Hi, Andrei,

On Tue, 9 Nov 2004 16:58:27 +0200
"Andrei Bintintan" <klodoma@ar-sd.net> wrote:

> Hi to all, I have the problem that:
> select lower('MöBÜEL') or select upper('MöBÜEL') are not working well.
>
> I read on some forums that there is some locale setting that needs to
> be done here, but could not fix this.
>
> I am using the ASCII encoding.

By definition, ASCII does not contain any umlauts.

So I would advise that, first, you switch to an umlaut capable encoding
(e. G. Latin1, Latin9 or UTF-8).

HTH,
Markus

--
markus schaber | dipl. informatiker
logi-track ag | rennweg 14-16 | ch 8001 zürich
phone +41-43-888 62 52 | fax +41-43-888 62 53
mailto:schabios@logi-track.com | www.logi-track.com

---------------------------(end of broadcast)---------------------------
TIP 3: 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