Re: Encoding, Unicode, locales, etc.

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Encoding, Unicode, locales, etc.
Дата
Msg-id 10868.1162449085@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Encoding, Unicode, locales, etc.  (Carlos Moreno <moreno_pg@mochima.com>)
Список pgsql-general
Carlos Moreno <moreno_pg@mochima.com> writes:
> ... The one that does the case conversion "correctly" (read: as I
> expect it as per Spanish or French rules) is 8.1.4 with en_US locale
> (LC_CTYPE and LC_COLLATE both showing en_US.UTF-8).  PG 7.4.14, *even
> with locale es_ES*, does not do the case conversion (characters with
> accent or tilde are left untouched).

IIRC, 7.4 has no chance of doing upper/lower sanely with multibyte UTF8
characters, because it only knows about the old-line toupper/tolower
<ctype.h> functions.  8.0 and up know about <wctype.h> and can do this
as you'd expect.  See the CVS history at
http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/utils/adt/oracle_compat.c

            regards, tom lane

В списке pgsql-general по дате отправления:

Предыдущее
От: "Martin Kuria"
Дата:
Сообщение: Re: Grouping My query
Следующее
От: "Shoaib Mir"
Дата:
Сообщение: Re: Updated: Compiling/Installing as a non-admin user