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 7304.1109359062@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:
> Right, so for the sample SQL I sent earlier, the result would be the same as the input?
> That's hardly a working upper/lower....

[ shrug... ]  It works per the locale definition, which is that only
7-bit-ASCII a-z/A-Z get converted.

The bottom line here is that we rely on the locale setting for this
behavior, and that's not likely to change real soon.  If you dislike
the locale definition then you should be using a different locale.
In particular I think the issue here is really that your platform's
definition of "C locale" says that bytes above x7F are illegal
characters.  My platform's doesn't.  The thing to be changing is the
locale definition.

            regards, tom lane

pgsql-hackers by date:

Previous
From: "John Hansen"
Date:
Subject: Re: [pgsql-hackers-win32] UNICODE/UTF-8 on win32
Next
From: yo mero
Date:
Subject: CAN-2005-0247