Re: BUG #4319: lower()/upper() does not know about UNICODE case mapping
От | valgog |
---|---|
Тема | Re: BUG #4319: lower()/upper() does not know about UNICODE case mapping |
Дата | |
Msg-id | 6f95a5f4-cc80-4209-9bf7-e2c4fc548b35@s50g2000hsb.googlegroups.com обсуждение исходный текст |
Ответ на | BUG #4319: lower()/upper() does not know about UNICODE case mapping ("Valentine Gogichashvili" <valgog@gmail.com>) |
Ответы |
Re: Re: BUG #4319: lower()/upper() does not know about UNICODE case mapping
|
Список | pgsql-bugs |
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 actua= lly > > corrupting UTF8 data, lowering UTF8 control bytes... I did have a chanc= e 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. =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/p= gsql-bugs Why Postgres allows creating UNICODE database with the locale, that can possibly corrupt my data?
В списке pgsql-bugs по дате отправления: