Re: [COMMITTERS] pgsql: Re-allow UTF8 encodings on win32.

From: Dave Page <dpage(at)postgresql(dot)org>
To: Hiroshi Saito <z-saito(at)guitar(dot)ocn(dot)ne(dot)jp>
Cc: Magnus Hagander <magnus(at)hagander(dot)net>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: [COMMITTERS] pgsql: Re-allow UTF8 encodings on win32.
Date: 2007-10-16 20:18:22
Message-ID: 47151C8E.5020208@postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers pgsql-hackers

Hiroshi Saito wrote:
> Hi.
>
> From: "Dave Page" <dpage(at)postgresql(dot)org>
>>> Yes, Please see,
>>> http://winpg.jp/~saito/pg83/pg83b1-err2.txt
>>> Is that initdb is successful a problem as for this?
>>
>> Oh, sorry - misread that. I chatted with Magnus about that. It is
>> correct, but misleading. pg_control will say Japanese_Japan.932 as well
>> iirc, even though it is really Japanese_Japan.65001.
>
> But, Please see.
> http://winpg.jp/~saito/pg83/pg83b1-err3.txt
> Japanese_Japan.65001 is error...
> Japanese_Japan is true.

Yes, we're faking utf-8 support using utf-16. Specifying it as you have
there bypasses the workaround and tries to use the 65001 codepage which
then fails because LC_CTYPE cannot be set to .65001 in any locale.

/D

In response to

Browse pgsql-committers by date

  From Date Subject
Next Message Dave Page 2007-10-16 20:20:53 Re: [COMMITTERS] pgsql: Re-allow UTF8 encodings on win32.
Previous Message Magnus Hagander 2007-10-16 20:17:17 Re: [COMMITTERS] pgsql: Re-allow UTF8 encodings on win32.

Browse pgsql-hackers by date

  From Date Subject
Next Message Dave Page 2007-10-16 20:20:53 Re: [COMMITTERS] pgsql: Re-allow UTF8 encodings on win32.
Previous Message Magnus Hagander 2007-10-16 20:17:17 Re: [COMMITTERS] pgsql: Re-allow UTF8 encodings on win32.