X-Original-To: pgsql-jdbc-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 66445539AD for ; Wed, 27 Apr 2005 07:22:36 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 07158-03 for ; Wed, 27 Apr 2005 10:22:33 +0000 (GMT) Received: from mnc.ch (www.mnc.ch [212.23.250.43]) by svr1.postgresql.org (Postfix) with ESMTP id 23D2D53979 for ; Wed, 27 Apr 2005 07:22:31 -0300 (ADT) Received: (qmail 4059 invoked from network); 27 Apr 2005 12:22:32 +0200 Received: from 62-2-77-204.business.cablecom.ch (HELO meuh.mnc.ch) (62.2.77.204) by www.mnc.ch with SMTP; 27 Apr 2005 12:22:32 +0200 Received: by meuh.mnc.ch (Postfix, from userid 1000) id 56BE723F713; Wed, 27 Apr 2005 12:22:29 +0200 (CEST) To: mhernandez@ingenian.com Cc: pgsql-jdbc@postgresql.org Subject: Re: ERROR: could not convert UTF-8 character 0x00ef to ISO8859-1 possiblesolution References: <426E685F.1020600@ingenian.com> From: Guillaume Cottenceau Date: 27 Apr 2005 12:22:29 +0200 In-Reply-To: <426E685F.1020600@ingenian.com> Message-ID: <87d5sgecyi.fsf@meuh.mnc.ch> Lines: 21 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.4 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.052 tagged_above=0 required=5 tests=AWL, FORGED_RCVD_HELO X-Spam-Level: X-Archive-Number: 200504/171 X-Sequence-Number: 12778 Mauricio Hern=C3=A1ndez Dur=C3=A1n writes: > Hi all! >=20 > We encountered the same problem most people have had using latin1 or > unicode for spanish characters upon inserting or updates: >=20 > 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 "=C3=AF". Then if I manually input "=C3=AF", 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? --=20 Guillaume Cottenceau