Skip site navigation (1) Skip section navigation (2)

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

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Peter Eisentraut <peter_e(at)gmx(dot)net>
Cc: Magnus Hagander <mha(at)sollentuna(dot)net>,Tatsuo Ishii <t-ishii(at)sra(dot)co(dot)jp>, tgl(at)sss(dot)pgh(dot)pa(dot)us,pgsql-hackers-win32(at)postgresql(dot)org, pgsql-hackers(at)postgresql(dot)org
Subject: Re: [pgsql-hackers-win32] UNICODE/UTF-8 on win32
Date: 2005-03-15 04:01:05
Message-ID: 200503150401.j2F415q25910@candle.pha.pa.us (view raw or flat)
Thread:
Lists: pgsql-hackerspgsql-hackers-win32
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(at)candle(dot)pha(dot)pa(dot)us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073

In response to

pgsql-hackers by date

Next:From: Oliver JowettDate: 2005-03-15 04:06:35
Subject: Re: invalidating cached plans
Previous:From: Alvaro HerreraDate: 2005-03-15 03:54:43
Subject: Re: signed short fd

pgsql-hackers-win32 by date

Next:From: Bruce MomjianDate: 2005-03-16 00:47:50
Subject: Re: [pgsql-hackers-win32] UNICODE/UTF-8 on win32
Previous:From: Tom LaneDate: 2005-03-14 19:41:01
Subject: Re: [pgsql-hackers-win32] snprintf causes regression tests to fail

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group