From: meil parachorras <meilparachorras@hotmail.com>
To: pgsql-jdbc@postgresql.org
Subject: Encoding Problem
Date: Wed, 30 Aug 2006 17:53:05 +0200
Message-ID: <BAY7-F189A82C6CD4D189AB51407B63E0@phx.gbl> (raw)
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&...
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-jdbc@postgresql.org
Cc: meilparachorras@hotmail.com
Subject: Re: Encoding Problem
In-Reply-To: <BAY7-F189A82C6CD4D189AB51407B63E0@phx.gbl>
References: <BAY7-F189A82C6CD4D189AB51407B63E0@phx.gbl>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox