Re: Problem with upper function and special characters

Поиск
Список
Период
Сортировка
От mike g
Тема Re: Problem with upper function and special characters
Дата
Msg-id 1088565017.16709.8.camel@localhost.localdomain
обсуждение исходный текст
Ответ на Problem with upper function and special characters  (Gerardo Castillo <gcastillo@ice.co.cr>)
Список pgsql-cygwin
Hi,

I don't believe that locale is supported in postgresql.

See http://www.postgresql.org/docs/7.4/static/multibyte.html#AEN18181
for a list of supported character sets.

Double check and make sure that postgres didn't use the default encoding
of Unicode instead.  There is a known bug in 7.4x with Upper/Lower
conversion in Unicode and perhaps that is affecting your encoding as
well.

Mike
On Thu, 2004-06-24 at 12:30, Gerardo Castillo wrote:
> Hello,
>     I have postgresql-7.4.3-1 in windows xp professional sp1 and
> cygwin.
>     Postgresql was installed with "--locale=es_ES". parameter
>
>     My problem is with the upper function. When I use it with special
> characters like áéí, it doesn't convert the case properly.
>
> Ej:
>     select upper('a');
>     result is: A  (OK)
> but ,
>     select upper('á');
>     result is: á (It should be Á)
>
> I'd really appreciate any help.
>
> Thanks,
> Gerardo.

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

Предыдущее
От: mike g
Дата:
Сообщение: Re: Question about cygwin/postgres install
Следующее
От: Kevin Marth
Дата:
Сообщение: initdb fails with invalid argument to shmat