Re: BUG #4342: upper, lower, initcap do not work with umlaute?
От | valgog |
---|---|
Тема | Re: BUG #4342: upper, lower, initcap do not work with umlaute? |
Дата | |
Msg-id | 0604b344-9021-4087-b5ae-2b1c907c302b@i76g2000hsf.googlegroups.com обсуждение исходный текст |
Ответ на | BUG #4342: upper, lower, initcap do not work with umlaute? ("paull" <kaeptn.haddock@gmail.com>) |
Список | pgsql-bugs |
On Aug 6, 4:48=A0pm, kaeptn.hadd...@gmail.com ("paull") wrote: > The following bug has been logged online: > > Bug reference: =A0 =A0 =A04342 > Logged by: =A0 =A0 =A0 =A0 =A0paull > Email address: =A0 =A0 =A0kaeptn.hadd...@gmail.com > PostgreSQL version: 8.2? not sure > Operating system: =A0 ubuntu > Description: =A0 =A0 =A0 =A0upper, lower, initcap do not work with umlaut= e? > Details: > > Hello > > I suspect this is no news, but then again, maybe noone ever bothered to > report? > > I suspect that pgsql functions upper, lower and initcap do not support > umlaute. If I query in phppgadmin like this: > > select > initcap('xxx'),upper('xxx'),initcap('=F6=D6=F6=D6=E4=C4=E4=C4=E4'),upper(= '=F6=D6=F6=D6=E4=AD > =E4=C4=E4') > > the result is this: > Xxx =A0 =A0 XXX =A0 =A0 =F6=D6=F6=D6=E4=C4=E4=C4=E4 =A0 =A0 =A0=F6=D6=F6= =D6=E4=C4=E4=C4=E4 > > Hope this helps you > Best regards > > -- > Sent via pgsql-bugs mailing list (pgsql-b...@postgresql.org) > To make changes to your subscription:http://www.postgresql.org/mailpref/p= gsql-bugs locale of the database should be de_DE.utf8 (if the database is with encoding UNICODE) or de_DE in case the encoding is LATIN1. check it with show lc_ctype show database_encoding You cannot officially change the locale of the database so theoretically you can buckup and restore the database to the correctly initialized database. I have managed to chenge the control file and reindex the database and do not see any problems yet.
В списке pgsql-bugs по дате отправления: