Received: from maia.hub.org (maia-2.hub.org [200.46.204.251]) by mail.postgresql.org (Postfix) with ESMTP id D9E84B5DBF7 for ; Thu, 25 Aug 2011 07:58:17 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.251]) (amavisd-maia, port 10024) with ESMTP id 84701-03 for ; Thu, 25 Aug 2011 10:58:11 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from sam.nabble.com (sam.nabble.com [216.139.236.26]) by mail.postgresql.org (Postfix) with ESMTP id 65026B5D91F for ; Thu, 25 Aug 2011 07:58:11 -0300 (ADT) Received: from [192.168.236.26] (helo=sam.nabble.com) by sam.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1QwXNY-0007ND-Kj for pgsql-jdbc@postgresql.org; Thu, 25 Aug 2011 03:41:44 -0700 Date: Thu, 25 Aug 2011 03:41:44 -0700 (PDT) From: Dieter To: pgsql-jdbc@postgresql.org Message-ID: <1314268904633-4733958.post@n5.nabble.com> Subject: SQL_ASCII charset conversion MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-0.778 tagged_above=-10 required=5 tests=BAYES_00=-1.9, URI_HEX=1.122 X-Spam-Level: X-Archive-Number: 201108/73 X-Sequence-Number: 22105 Hi we have a Postgres 8.4 database with SQL_ASCII encoding. Unfortunately, there are non ascii characters stored in this database. The encoding used to store the non-ascii characters was ISO-8859-1 (LATIN1). I know thats not the way to go, but thats the situation. With the old Postgres JDBC Driver (older than 7.2), the charSet Property could be as follows: charSet=ISO-8859-1 With this setting, the characers in the database are correctly interpreted. Now, with the new 8.4 postgres JDBC driver, this charSet setting is not supported anymore. How can I set the character encoding to ISO-8859-1 in the 8.4 Postgres Driver? Thank you very much. Regards Dieter -- View this message in context: http://postgresql.1045698.n5.nabble.com/SQL-ASCII-charset-conversion-tp4733958p4733958.html Sent from the PostgreSQL - jdbc mailing list archive at Nabble.com.