X-Original-To: pgsql-jdbc-postgresql.org@postgresql.org Received: from localhost (mx1.hub.org [200.46.208.251]) by postgresql.org (Postfix) with ESMTP id ADA359FB293 for ; Wed, 30 Aug 2006 12:53:24 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.208.251]) (amavisd-new, port 10024) with ESMTP id 48488-01 for ; Wed, 30 Aug 2006 12:53:11 -0300 (ADT) X-Greylist: domain auto-whitelisted by SQLgrey- Received: from bay0-omc3-s36.bay0.hotmail.com (bay0-omc3-s36.bay0.hotmail.com [65.54.246.236]) by postgresql.org (Postfix) with ESMTP id 705A29FB27B for ; Wed, 30 Aug 2006 12:53:10 -0300 (ADT) Received: from hotmail.com ([64.4.11.18]) by bay0-omc3-s36.bay0.hotmail.com with Microsoft SMTPSVC(6.0.3790.1830); Wed, 30 Aug 2006 08:53:09 -0700 Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Wed, 30 Aug 2006 08:53:08 -0700 Message-ID: Received: from 69.45.64.98 by by7fd.bay7.hotmail.msn.com with HTTP; Wed, 30 Aug 2006 15:53:05 GMT X-Originating-IP: [137.248.74.126] X-Originating-Email: [meilparachorras@hotmail.com] X-Sender: meilparachorras@hotmail.com From: "meil parachorras" To: pgsql-jdbc@postgresql.org Subject: Encoding Problem Date: Wed, 30 Aug 2006 17:53:05 +0200 Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1; format=flowed X-OriginalArrivalTime: 30 Aug 2006 15:53:08.0840 (UTC) FILETIME=[63AB7680:01C6CC4C] X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200608/184 X-Sequence-Number: 15711 Hello. I have a problem with JDBC and PostgreSQL. Example: Class.forName("org.postgresql.Driver"); String url = "jdbc:postgresql://localhost:5432/GE"; Connection con = DriverManager.getConnection(url,"user","pass"); Statement st = con.createStatement(); sql = "INSERT INTO Auffinden VALUES ('1','München');"; ResultSet res = st.executeQuery(sql); con.close(); And I receive this error: org.postgresql.util.PSQLException: ERROR: character 0xc383 of encoding "UTF8" has no equivalent in "ISO_8859_5". How can I data with encoding ISO_8859_5 with JDBC senden? I use the drivers: postgresql-8.1-405.jdbc2.jar with postgresql 8.1 and JDK 5.0. Best regards, Michael. _________________________________________________________________ Descarga gratis la Barra de Herramientas de MSN http://www.msn.es/usuario/busqueda/barra?XAPID=2031&DI=1055&SU=http%3A//www.hotmail.com&HL=LINKTAG1OPENINGTEXT_MSNBH