Re: Problem of capital case-insensitive letter with accent

Поиск
Список
Период
Сортировка
От Pavel Stehule
Тема Re: Problem of capital case-insensitive letter with accent
Дата
Msg-id 162867790801211142y5f72486bsfa9caa7b1a1cf311@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Problem of capital case-insensitive letter with accent  (Colin Wetherbee <cww@denterprises.org>)
Ответы Re: Problem of capital case-insensitive letter with accent  (Colin Wetherbee <cww@denterprises.org>)
Re: Problem of capital case-insensitive letter with accent  (lan ping <pinglanmtl@yahoo.ca>)
Список pgsql-general
Hello

> Are you sure you're using LATIN1 on both?
>
> js=# \l
>          List of databases
>     Name    |  Owner   | Encoding
> -----------+----------+----------
>   js        | cww      | UTF8
>   test      | cww      | LATIN1
> [ ...snip... ]
>
> js=# SELECT lower('ÉÈ');
>   lower
> -------
>   éè
> (1 row)
>
> js=# \c test
> You are now connected to database "test".
> test=# SELECT lower('ÉÈ');
>   lower
> -------
>   ÉÈ
> (1 row)
>
> It seems the UTF8 database performs lower() correctly, but the LATIN1
> database does not.
>
> Colin
>

when database uses different encoding, than is specified in cluster's
initialization, then lower, upper doesn't work.

Pavel

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

Предыдущее
От: "Pavel Stehule"
Дата:
Сообщение: Re: Problem of capital case-insensitive letter with accent
Следующее
От: Colin Wetherbee
Дата:
Сообщение: Re: Problem of capital case-insensitive letter with accent