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

From Bruce Momjian
Subject Re: [pgsql-hackers-win32] UNICODE/UTF-8 on win32
Date
Msg-id 200503150401.j2F415q25910@candle.pha.pa.us
Whole thread Raw
In response to Re: [pgsql-hackers-win32] UNICODE/UTF-8 on win32  (Peter Eisentraut <peter_e@gmx.net>)
List pgsql-hackers
Peter Eisentraut wrote:
> >         o Disallow encodings like UTF8 which PostgreSQL supports
> >           but the operating system does not (already disallowed by
> >           pginstaller)
>
> I think the warning that initdb shouts out is already enough for this.
> I don't think we want to disallow this for people who know what they
> are doing.

I have updated the Win32 TODO item:

        o Add support for Unicode

          To fix this, the data needs to be converted to/from UTF16/UTF8
          so the Win32 wcscoll() can be used, and perhaps other functions
          like towupper().  However, UTF8 already works with normal
          locales but provides no ordering or character set classes.

--
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073

pgsql-hackers by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: signed short fd
Next
From: Bruce Momjian
Date:
Subject: Re: signed short fd