Re: [pgsql-hackers-win32] UNICODE/UTF-8 on win32 - Mailing list pgsql-hackers

From Tom Lane
Subject Re: [pgsql-hackers-win32] UNICODE/UTF-8 on win32
Date
Msg-id 5100.1109344715@sss.pgh.pa.us
Whole thread Raw
In response to Re: [pgsql-hackers-win32] UNICODE/UTF-8 on win32  ("John Hansen" <john@geeknet.com.au>)
List pgsql-hackers
"John Hansen" <john@geeknet.com.au> writes:
>> Sure it does.  It's just that the defined behavior of the C
>> locale is often useless in practice.

> select upper('æøå');
> ERROR:  invalid multibyte character for locale
> HINT:  The server's LC_CTYPE locale is probably incompatible with the database encoding.

> Consequently it seems that is does not work.

"It fails on my machine" should not be read as "it doesn't work for anyone".
It all depends on how your local mbstowcs() works.

            regards, tom lane

pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Where are we on stored procedures?
Next
From: Tom Lane
Date:
Subject: Re: Where are we on stored procedures?