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

From: Magnus Hagander <magnus(at)hagander(dot)net>
To: Dave Page <dpage(at)postgresql(dot)org>
Cc: Hiroshi Saito <z-saito(at)guitar(dot)ocn(dot)ne(dot)jp>, 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 19:57:13
Message-ID: 47151799.9030004@hagander.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers pgsql-hackers

Dave Page wrote:
> Hiroshi Saito wrote:
>> From: "Dave Page" <dpage(at)postgresql(dot)org>
>>
>>> Hiroshi Saito wrote:
>>>> Hi.
>>>>
>>>> Second, it is big problem....
>>>> http://winpg.jp/~saito/pg83/pg83b1-err2.txt
>>>> It is text serch config error.
>>>> However, It passes initdb.(locale=Japanese_Japan.932 ... This is
>>>> ShiftJIS locale)
>>>>
>>>> And a test continues....
>>> The changes that were made were only to re-enable UTF-8.
>> 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.

Not so. The locale is Japanese_Japan, really. That's the only part
that's relevant for UTF16 encodings, which is what we use to do UTF8. We
specifically *don't* try to use Japanese_Japan.65001.

//Magnus

In response to

Responses

Browse pgsql-committers by date

  From Date Subject
Next Message Hiroshi Saito 2007-10-16 20:02:19 Re: [COMMITTERS] pgsql: Re-allow UTF8 encodings on win32.
Previous Message Magnus Hagander 2007-10-16 19:56:29 Re: [COMMITTERS] pgsql: Re-allow UTF8 encodings on win32.

Browse pgsql-hackers by date

  From Date Subject
Next Message Hiroshi Saito 2007-10-16 20:02:19 Re: [COMMITTERS] pgsql: Re-allow UTF8 encodings on win32.
Previous Message Magnus Hagander 2007-10-16 19:56:29 Re: [COMMITTERS] pgsql: Re-allow UTF8 encodings on win32.