Re: [HACKERS] UTF8 and KOI8 mini-howto

From: Oleg Bartunov <oleg(at)sai(dot)msu(dot)su>
To: Markus Bertheau <twanger(at)bluetwanger(dot)de>
Cc: pgsql-general(at)postgresql(dot)org, Pgsql Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: [HACKERS] UTF8 and KOI8 mini-howto
Date: 2003-06-15 23:26:51
Message-ID: Pine.GSO.4.56.0306160325310.16134@ra.sai.msu.su
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-hackers

Marcus,

I suspect lower,upper will not works with Unicode.
Read thread http://fts.postgresql.org/db/msg.html?mid=1070198
Tatsuo is the right person to ask.

Oleg
On Mon, 16 Jun 2003, Oleg Bartunov wrote:

> 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(at)sai(dot)msu(dot)su, http://www.sai.msu.su/~megera/
> phone: +007(095)939-16-83, +007(095)939-23-83
>
> ---------------------------(end of broadcast)---------------------------
> TIP 9: the planner will ignore your desire to choose an index scan if your
> joining column's datatypes do not match
>

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

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message nolan 2003-06-15 23:46:26 Re: Optimizer failure on update w/integer column
Previous Message Oleg Bartunov 2003-06-15 22:52:29 Re: [HACKERS] UTF8 and KOI8 mini-howto

Browse pgsql-hackers by date

  From Date Subject
Next Message Markus Bertheau 2003-06-15 23:53:34 Re: [HACKERS] UTF8 and KOI8 mini-howto
Previous Message Oleg Bartunov 2003-06-15 22:52:29 Re: [HACKERS] UTF8 and KOI8 mini-howto