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 2FE783A4638 for ; Wed, 27 Oct 2004 13:55:29 +0100 (BST) 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 30209-08 for ; Wed, 27 Oct 2004 12:55:18 +0000 (GMT) Received: from paul.nmi.northlandministries.org (paul.nmi.northlandministries.org [65.160.35.6]) by svr1.postgresql.org (Postfix) with ESMTP id 18B9B3A4616 for ; Wed, 27 Oct 2004 13:55:20 +0100 (BST) X-MimeOLE: Produced By Microsoft Exchange V6.0.6487.1 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: using 8 bit ascii Date: Wed, 27 Oct 2004 07:55:18 -0500 Message-ID: <04875CB4331F0240A0AD66F9709786510272AC98@paul> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: using 8 bit ascii Thread-Index: AcS8JDW+BLbapIFxR6WlyZ90D8lLzQ== From: "Jason Tesser" To: X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.0 tagged_above=0.0 required=5.0 tests= X-Spam-Level: X-Archive-Number: 200410/275 X-Sequence-Number: 11380 I have a Postgres database (version 7.4.2) that is using acsii character 233 which is an 8 bit ascii character. I also use jboss. My problem is when I try to retrieve=20 a resultset that has a record with one of the 8bit ascii characters I get a=20 message from jboss (see error message below.=20=20 My question is there a way to configure the postgres jdbc driver to allow=20 for this range of characters?=20=20 2004-10-26 16:54:51,167 ERROR [STDERR] org.postgresql.util.PSQLException: Invalid character data was found. This is most likely caused by stored data containing characters that are invalid for the character set the database was created in. The most common example of this is storing 8bit data in a SQL_ASCII database. 2004-10-26 16:54:51,167 ERROR [STDERR] at org.postgresql.core.Encoding.decodeUTF8(Encoding.java:287) 2004-10-26 16:54:51,167 ERROR [STDERR] at org.postgresql.core.Encoding.decode(Encoding.java:182) 2004-10-26 16:54:51,167 ERROR [STDERR] at org.postgresql.core.Encoding.decode(Encoding.java:198) 2004-10-26 16:54:51,167 ERROR [STDERR] at org.postgresql.jdbc1.AbstractJdbc1ResultSet.getString(AbstractJdbc1Resul tSet.java:201) 2004-10-26 16:54:51,167 ERROR [STDERR] at org.postgresql.jdbc1.AbstractJdbc1ResultSet.getString(AbstractJdbc1Resul tSet.java:475) 2004-10-26 16:54:51,168 ERROR [STDERR] at payroll.DeptWorkers.loadWorkers(DeptWorkers.java:52) 2004-10-26 16:54:51,168 ERROR [STDERR] at org.apache.jsp.manager_jsp._jspService(manager_jsp.jav