Re: Getting Unicode characters greater than or equal to

From: Richard Huxton <dev(at)archonet(dot)com>
To: Venki <Venki(at)insoft(dot)com>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Getting Unicode characters greater than or equal to
Date: 2004-11-26 09:20:24
Message-ID: 41A6F558.6080100@archonet.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Venki wrote:
> Hi All,
> I am using Postgres 7.4.6 on Red hat linux 9.0. When I try insert a chinese
> character from my frontend(Asp.Net on win2k pro using ado.net, .Net
> framework 1.1) into a table in my postgres database I am getting the
> following error message
>
> "System.Data.Odbc.OdbcException: ERROR [HY000] ERROR: Unicode characters
> greater than or equal to 0x10000 are not supported"

Hi Venki

This isn't really the right list for support questions, you might be
better off with the general or odbc lists.

In your case I'm guessing your Windows system isn't supplying UTF-8 but
some other character set. Certainly that is what the error message
implies. Note PG handles UTF-8 but not UTF-16 or other encodings.

HTH
--
Richard Huxton
Archonet Ltd

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Richard Huxton 2004-11-26 09:32:43 Possible TODO item? VACUUM on empty table
Previous Message Thomas Hallgren 2004-11-26 09:00:13 Re: Beta5 now Available