From: | Alvaro Herrera <alvherre(at)commandprompt(dot)com> |
---|---|
To: | Kashin Oleg <kashin(dot)oleg(at)mail(dot)ru> |
Cc: | pgsql-bugs(at)postgresql(dot)org |
Subject: | Re: BUG #2300: Error in upper function |
Date: | 2006-03-04 21:45:57 |
Message-ID: | 20060304214556.GJ13230@surnet.cl |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-bugs |
Kashin Oleg wrote:
> My database is with UTF8 encoding. When I use function "upper" for any filed
> of table I get the next error
> "Invalid multibyte character for locale".
Did you select a locale appropiate for UTF8 as well? It's pretty easy
to get into trouble if you select a non-matching pair of locale and
encoding. UTF8 locales are usually prefixed with ".UTF8", so for
example in my case es_CL.UTF8 works with UTF8 encoding, but es_CL
doesn't, as the latter assumes iso-8859-1 encoding.
--
Alvaro Herrera http://www.CommandPrompt.com/
The PostgreSQL Company - Command Prompt, Inc.
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2006-03-04 22:36:25 | Re: BUG #2299: pg_dump error w/ renamed primary keys |
Previous Message | Kashin Oleg | 2006-03-04 07:48:13 | BUG #2300: Error in upper function |