Re: upper() with LATIN1 problem

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: upper() with LATIN1 problem
Дата
Msg-id 15653.1113316051@sss.pgh.pa.us
обсуждение исходный текст
Ответ на upper() with LATIN1 problem  ("Lic. Guillermo González"<g.gonzalez@cybira.biz>)
Ответы Re: upper() with LATIN1 problem  ("Lic. Guillermo González"<g.gonzalez@cybira.biz>)
Список pgsql-admin
=?ISO-8859-1?Q?=22Lic=2E_Guillermo_Gonz=E1lez=22?= <g.gonzalez@cybira.biz> writes:
> The problem is:
> - with a text 'magri��'
> - the upper('magri��') returns MAGRI��
> - NOTE that the characters '�' and '�' didn't change the case.

This is determined by your locale (specifically LC_CTYPE) not by what
the database thinks the encoding is.  You'll probably want to re-initdb
in the desired locale.

            regards, tom lane

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: db restore eats too much memory
Следующее
От: Reuly Bússolo Mendes
Дата:
Сообщение: Re: Problem in order by