Re: [HACKERS] Bug #659: lower()/upper() bug on

From: Tatsuo Ishii <t-ishii(at)sra(dot)co(dot)jp>
To: hannu(at)tm(dot)ee
Cc: michael(dot)enke(at)wincor-nixdorf(dot)com, pgsql-bugs(at)postgresql(dot)org, pgsql-hackers(at)postgresql(dot)org
Subject: Re: [HACKERS] Bug #659: lower()/upper() bug on
Date: 2002-05-14 07:52:55
Message-ID: 20020514165255I.t-ishii@sra.co.jp
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs pgsql-hackers

> > My Linux box does not have *.utf8 locales at all. Probably not so many
> > platforms have them up to now, I guess.
>
> What linux do you use ?

Kind of variant of RH6.2.

> At least newer Redhat Linuxen have them and I suspect that all newer
> glibc's are capable of using them.

I guess many RH6.2 or RH6.2 based are still surviving...

> > If you have set the local to, say de_DE, then:
> >
> > select lower(japanese) from t1;
> >
> > would be executed in de_DE.utf8 locale, and I doubt it produces any
> > meaningfull results for Japanese.
>
> IIRC it may, as I think that it will include full UTF8 upper/lower
> tables, at least on Linux.
>
> For example en_US will produce right upper/lower results for Estonian,
> though collation is off and some chars are missing if using iso-8859-1.

Are you sure that say, de_DE.utf8 locale produce meaningful results
for any other languages? If so, why are there so many *.utf8 locales?

> btw, does Japanese language have distinct upper and lower case letters ?

There are "full width alphabets" in Japanese. Thoes include not only
ASCII letters but also some European characters.
--
Tatsuo Ishii

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Hannu Krosing 2002-05-14 08:35:44 Re: [HACKERS] Bug #659: lower()/upper() bug on
Previous Message Jean-Michel POURE 2002-05-14 06:35:12 Re: [HACKERS] Bug #659: lower()/upper() bug on

Browse pgsql-hackers by date

  From Date Subject
Next Message Hannu Krosing 2002-05-14 08:21:02 Re: Discontent with development process (was:Re: pgaccess
Previous Message Zeugswetter Andreas SB SD 2002-05-14 06:37:13 Re: strange explain