Re: Bug #676: lower(), upper(), & initcap() do not work on utf-8 chars - Mailing list pgsql-bugs

From Tom Lane
Subject Re: Bug #676: lower(), upper(), & initcap() do not work on utf-8 chars
Date
Msg-id 23560.1022302566@sss.pgh.pa.us
Whole thread Raw
In response to Bug #676: lower(), upper(), & initcap() do not work on utf-8 chars  (pgsql-bugs@postgresql.org)
Responses Re: Bug #676: lower(), upper(), & initcap() do not work on utf-8 chars
List pgsql-bugs
pgsql-bugs@postgresql.org writes:
> The string case manipulation functions lower(), upper(), & initcap()
> have no effect on non-ASCII characters in the argument, such as æ, å,
> ø, ä, etc. ASCII chars in the argument are properly up- or down-cased.
> The database encoding is UTF-8.

lower/upper-casing is driven by locale, not encoding.

Unfortunately you didn't mention anything about your locale setup...

            regards, tom lane

pgsql-bugs by date:

Previous
From: pgsql-bugs@postgresql.org
Date:
Subject: Bug #676: lower(), upper(), & initcap() do not work on utf-8 chars
Next
From: Tom Lane
Date:
Subject: Re: Bug #676: lower(), upper(), & initcap() do not work on utf-8 chars