using initcap() for the French charater

Поиск
Список
Период
Сортировка
От Emi Lu
Тема using initcap() for the French charater
Дата
Msg-id 4433D37A.8030809@encs.concordia.ca
обсуждение исходный текст
Ответы Re: using initcap() for the French charater  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-general
Hello,

I am having a problem of using initcap() for the French charater.

. create table test (id varchar(3));
. insert into test values('É');
. select initcap(id) from test;

*Got ERROR:*  invalid multibyte character for locale
HINT:  The server's LC_CTYPE locale is probably incompatible with the
database encoding.


By the way, both my client and server encoding are  "UNICODE".

Ying



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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: pg_dump and copy command
Следующее
От: Jonathan Beit-Aharon
Дата:
Сообщение: 8.1.3's /etc/init.d/postgresql fails, logging "standard in must be a tty"