Re: [HACKERS] UTF8 and KOI8 mini-howto - Mailing list pgsql-general

From Oleg Bartunov
Subject Re: [HACKERS] UTF8 and KOI8 mini-howto
Date
Msg-id Pine.GSO.4.56.0306160249410.16134@ra.sai.msu.su
Whole thread Raw
In response to Re: [HACKERS] UTF8 and KOI8 mini-howto  (Markus Bertheau <twanger@bluetwanger.de>)
Responses Re: [HACKERS] UTF8 and KOI8 mini-howto
List pgsql-general
On Sun, 15 Jun 2003, Markus Bertheau wrote:

> а╝ а╪б╤аН, 13.06.2003, аВ 20:02, Oleg Bartunov аПаИб╙аЕб╤:
> > Hi there,
> >
> > I've  managed to get postgresql working with UTF8 and KOI8.
> > Here is some mini-howto:
> > http://www.sai.msu.su/~megera/postgres/utf8.html
>
> select lower('а╔а╝а█а╔а╝а█а╔'); returns 'а╔а╝а█а╔а╝а█а╔' with this setup here, any
> idea why this is the case?

No idea :-) I just tested sorting and didn't even tried upper,lower.
I suspect the problem is real. At least, perl (5.6.1) handles uc,lc function
using special pragma 'use utf8'.

Let me know if you get any success.

    Oleg

>
>

    Regards,
        Oleg
_____________________________________________________________
Oleg Bartunov, sci.researcher, hostmaster of AstroNet,
Sternberg Astronomical Institute, Moscow University (Russia)
Internet: oleg@sai.msu.su, http://www.sai.msu.su/~megera/
phone: +007(095)939-16-83, +007(095)939-23-83

pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: Why can't you define a table alias on an update?
Next
From: Oleg Bartunov
Date:
Subject: Re: [HACKERS] UTF8 and KOI8 mini-howto