Re: libpq Unicode support?

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Ale Raza <araza(at)esri(dot)com>, pgsql-general(at)postgresql(dot)org
Subject: Re: libpq Unicode support?
Date: 2005-04-22 18:47:39
Message-ID: 200504221847.j3MIldu18863@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Tom Lane wrote:
> Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)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(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

Responses

Browse pgsql-general by date

  From Date Subject
Next Message typing80wpm 2005-04-22 19:04:22 PHP and Postgresql on Windows
Previous Message Alvaro Herrera 2005-04-22 18:43:42 Re: plperl function fails to "fire" Slony trigger