Re: BUG #4319: lower()/upper() does not know about UNICODE case mapping - Mailing list pgsql-bugs

From valgog
Subject Re: BUG #4319: lower()/upper() does not know about UNICODE case mapping
Date
Msg-id 494b0425-ac4c-4533-965f-f6e47553bfa0@t54g2000hsg.googlegroups.com
Whole thread Raw
In response to BUG #4319: lower()/upper() does not know about UNICODE case mapping  ("Valentine Gogichashvili" <valgog@gmail.com>)
List pgsql-bugs
I checked for de_DE.utf8 (created a test database with initdb) and
lower/upper is working correctly there on both 8.2 and 8.3 in
different languages


On Jul 22, 11:26=A0am, valgog <val...@gmail.com> wrote:
> On Jul 21, 4:32=A0pm, alvhe...@commandprompt.com (Alvaro Herrera) wrote:
>
>
>
> > Valentine Gogichashvili escribi=F3:
>
> > > On 8.2.3 database with LC_CTYPE set to en_EN, lower() function is act=
ually
> > > corrupting UTF8 data, lowering UTF8 control bytes... I did have a cha=
nce to
> > > check if how it works on the 8.3 as I do not have any db instance wit=
h the
> > > LC_CTYPE set to en_EN.
>
> > I don't know about Unicode case mapping, but en_EN is not a UTF8 locale
> > which is why it's corrupting the data. =A0Try en_EN.utf8 instead.
>
> > --
> > Alvaro Herrera =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =
=A0 =A0http://www.CommandPrompt.com/
> > The PostgreSQL Company - Command Prompt, Inc.
>
> > --
> > Sent via pgsql-bugs mailing list (pgsql-b...@postgresql.org)
> > To make changes to your subscription:http://www.postgresql.org/mailpref=
/pgsql-bugs
>
> Will en_EN.utf8 know about German, Russian, Romanian and Dutch?

pgsql-bugs by date:

Previous
From: "Bob Kuhfahl"
Date:
Subject: BUG #4321: 8.3 installer shortens allowable BASE_DIR path length?
Next
From: valgog
Date:
Subject: Re: BUG #4319: lower()/upper() does not know about UNICODE case mapping