Re: Unicode support on Win32

From: Shachar Shemesh <psql(at)shemesh(dot)biz>
To: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
Cc: Caleb <caleb_ownz(at)yahoo(dot)com>, pgsql-general(at)postgresql(dot)org
Subject: Re: Unicode support on Win32
Date: 2005-02-28 21:09:38
Message-ID: 42238892.3040703@shemesh.biz
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Bruce Momjian wrote:

>Caleb wrote:
>
>
>>Hi,
>>
>>I am using Windows as a development environment (and database design),
>>and it seems that Unicode is not supported on Win32.
>>
>>
>
>Yes, the problem is that we only support UTF-8 and the Win32 collation
>routines only support UTF-16. You can actually use UTF-8 if you don't
>care about ordering of the character set, but pginstaller doesn't
>support those options --- you have to run initdb manually.
>
>
I know this is the wrong list for it, but here are some thoughts about
solutions:
1. Convert to UTF-16 - Windows give you builtin functions to do that.
2. Use another library set (ICU?)

Shachar

--
Shachar Shemesh
Lingnu Open Source Consulting ltd.
Have you backed up today's work? http://www.lingnu.com/backup.html

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2005-02-28 21:44:09 Re: to_char bug?
Previous Message Tom Lane 2005-02-28 21:05:11 Re: indexing date_part