Re: [HACKERS] UNICODE/UTF-8 on win32

Lists: pgsql-hackerspgsql-hackers-win32
From: "John Hansen" <john(at)geeknet(dot)com(dot)au>
To: "Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: "Bruce Momjian" <pgman(at)candle(dot)pha(dot)pa(dot)us>, "Tatsuo Ishii" <t-ishii(at)sra(dot)co(dot)jp>, <mha(at)sollentuna(dot)net>, <pgsql-hackers-win32(at)postgresql(dot)org>, <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: [HACKERS] UNICODE/UTF-8 on win32
Date: 2005-04-24 19:46:01
Message-ID: 5066E5A966339E42AA04BA10BA706AE56298@rodrick.geeknet.com.au
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers pgsql-hackers-win32

Right, they were meant as a starting point, but if you can point me to
how I can obtain the current locale, then I can fix them to cover the
remaining 15 special cases.

... John

> -----Original Message-----
> From: Tom Lane [mailto:tgl(at)sss(dot)pgh(dot)pa(dot)us]
> Sent: Monday, April 25, 2005 2:01 AM
> To: John Hansen
> Cc: Bruce Momjian; Tatsuo Ishii; mha(at)sollentuna(dot)net;
> pgsql-hackers-win32(at)postgresql(dot)org; pgsql-hackers(at)postgresql(dot)org
> Subject: Re: [HACKERS] [pgsql-hackers-win32] UNICODE/UTF-8 on win32
>
> "John Hansen" <john(at)geeknet(dot)com(dot)au> writes:
> > Look at the upper/lower I sent to the list, they should be able to
> > replace upper/lower for the utf8 encoding.... (and works
> independent
> > of locale)..
>
> I was under the impression we couldn't use these, precisely
> because they weren't locale-aware. ("It works for most
> people" isn't good enough.)
>
> In any case, don't we need a solution that covers sorting
> (strcoll) as well as upper/lower?
>
> regards, tom lane
>
>