From: | valgog <valgog(at)gmail(dot)com> |
---|---|
To: | pgsql-bugs(at)postgresql(dot)org |
Subject: | Re: BUG #4319: lower()/upper() does not know about UNICODE case mapping |
Date: | 2008-07-22 09:31:32 |
Message-ID: | 6f95a5f4-cc80-4209-9bf7-e2c4fc548b35@s50g2000hsb.googlegroups.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-bugs |
On Jul 21, 4:32 pm, alvhe(dot)(dot)(dot)(at)commandprompt(dot)com (Alvaro Herrera) wrote:
> Valentine Gogichashvili escribió:
>
> > On 8.2.3 database with LC_CTYPE set to en_EN, lower() function is actually
> > corrupting UTF8 data, lowering UTF8 control bytes... I did have a chance to
> > check if how it works on the 8.3 as I do not have any db instance with 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. Try en_EN.utf8 instead.
>
> --
> Alvaro Herrera http://www.CommandPrompt.com/
> The PostgreSQL Company - Command Prompt, Inc.
>
> --
> Sent via pgsql-bugs mailing list (pgsql-b(dot)(dot)(dot)(at)postgresql(dot)org)
> To make changes to your subscription:http://www.postgresql.org/mailpref/pgsql-bugs
Why Postgres allows creating UNICODE database with the locale, that
can possibly corrupt my data?
From | Date | Subject | |
---|---|---|---|
Next Message | Peter Eisentraut | 2008-07-22 09:53:15 | Re: Re: BUG #4319: lower()/upper() does not know about UNICODE case mapping |
Previous Message | César Miguel Oliveira Alves | 2008-07-22 09:30:35 | LDAP Authentication with spaces in DN |