Re: libpq Unicode support? - Mailing list pgsql-general

From Bruce Momjian
Subject Re: libpq Unicode support?
Date
Msg-id 200504221847.j3MIldu18863@candle.pha.pa.us
Whole thread Raw
In response to Re: libpq Unicode support?  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: libpq Unicode support?
List pgsql-general
Tom Lane wrote:
> Bruce Momjian <pgman@candle.pha.pa.us> writes:
> > We do not support UTF-16 at this time.  Hopefully we will in 8.1.
>
> Oh?  Who's working on it, or even interested?  Was there discussion
> of adding it to TODO?
>
> I think it would be an extremely nontrivial change, which is why
> I am not pleased with making casual promises that it will appear
> soon (or indeed at all).

TODO has:

        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-general by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: plperl function fails to "fire" Slony trigger
Next
From: typing80wpm@aol.com
Date:
Subject: PHP and Postgresql on Windows