Re: Multi-Language upper(),lower() - Mailing list pgsql-general

From Tom Lane
Subject Re: Multi-Language upper(),lower()
Date
Msg-id 460.1088131423@sss.pgh.pa.us
Whole thread Raw
In response to Multi-Language upper(),lower()  (Ara Anjargolian <ara818@yahoo.com>)
Responses Re: Multi-Language upper(),lower()  (Bruce Momjian <pgman@candle.pha.pa.us>)
List pgsql-general
Ara Anjargolian <ara818@yahoo.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.

            regards, tom lane

pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: Renaming a schema
Next
From: mike g
Date:
Subject: Re: strange apllicaion error