using initcap() for the French charater - Mailing list pgsql-general

From Emi Lu
Subject using initcap() for the French charater
Date
Msg-id 4433D37A.8030809@encs.concordia.ca
Whole thread Raw
Responses Re: using initcap() for the French charater  (Tom Lane <tgl@sss.pgh.pa.us>)
List 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 by date:

Previous
From: Tom Lane
Date:
Subject: Re: pg_dump and copy command
Next
From: Jonathan Beit-Aharon
Date:
Subject: 8.1.3's /etc/init.d/postgresql fails, logging "standard in must be a tty"