Re: Multi-Language upper(),lower()

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Ara Anjargolian <ara818(at)yahoo(dot)com>, pgsql-general(at)postgresql(dot)org
Subject: Re: Multi-Language upper(),lower()
Date: 2004-07-06 03:23:43
Message-ID: 200407060323.i663NhT23314@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Tom Lane wrote:
> Ara Anjargolian <ara818(at)yahoo(dot)com> writes:
> > Am I mistaken, or was multi-language support for
> > upper(), lower() and friends recently added to 7.5?
>
> I fixed upper/lower so that they would work on multi-byte character set
> encodings, given that the platform supports the <wctype.h> functions
> towupper, towlower, etc. This means they can work on Unicode (UTF-8)
> data. However, this doesn't do anything to improve the fundamental
> issue that we are dependent on the C library's API for locale-specific
> behavior, and that that API does *not* easily support dealing with
> multiple locales at once. See the nearby "unicode and sorting" thread.

OK, I marked the item as done.

--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073

In response to

Browse pgsql-general by date

  From Date Subject
Next Message mike g 2004-07-06 03:24:21 Re: SUBSTRING for a regular expression
Previous Message mike g 2004-07-06 02:50:52 Re: server closed the connection unexpectedly