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

Bruce Momjian <[email protected]> Mon, 14 Mar 2005 23:01:05 -0500 (EST)
Newsgroups gmane.comp.db.postgresql.devel.win32,gmane.comp.db.postgresql.devel.general
Message-ID <[email protected]>
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
  [email protected]               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073

---------------------------(end of broadcast)---------------------------
TIP 4: Don't 'kill -9' the postmaster