Re: ERROR: could not convert UTF-8 character 0x00ef to ISO8859-1

From: Markus Schaber <schabi(at)logix-tt(dot)com>
To: Guillaume Cottenceau <gc(at)mnc(dot)ch>
Cc: mhernandez(at)ingenian(dot)com, pgsql-jdbc(at)postgresql(dot)org
Subject: Re: ERROR: could not convert UTF-8 character 0x00ef to ISO8859-1
Date: 2005-04-27 11:55:17
Message-ID: 426F7DA5.1060601@logix-tt.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

Hi, Guillaume,

Guillaume Cottenceau schrieb:
>>ERROR: could not convert UTF-8 character 0x00ef to ISO8859-1
> Iconv actually agrees that this UTF-8 character cannot be
> converted to ISO8859-1.
>
> I can print UTF-8's 0x00EF which gives "ï".
>
> Then if I manually input "ï", the bytes in UTF-8 to do that are
> 0xC3AF, and this can be converted to ISO8859-1 (it is 0xEF).
>
> Isn't there a problem with your UTF-8 data containing 0x00EF?

Maybe it is UTF-16 in Network byte order.

Markus

In response to

Browse pgsql-jdbc by date

  From Date Subject
Next Message Guillaume Cottenceau 2005-04-27 13:13:35 Re: ERROR: could not convert UTF-8 character 0x00ef to ISO8859-1 possiblesolution
Previous Message Anders Hermansen 2005-04-27 11:54:34 Re: ERROR: could not convert UTF-8 character 0x00ef to ISO8859-1 possiblesolution