pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Dieter <dieter.salathe@syslink.ch>
To: pgsql-jdbc@postgresql.org
Subject: SQL_ASCII charset conversion
Date: Thu, 25 Aug 2011 03:41:44 -0700 (PDT)
Message-ID: <1314268904633-4733958.post@n5.nabble.com> (raw)

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.



view thread (3+ messages)  latest in thread

Message-ID: <1314268904633-4733958.post@n5.nabble.com>
Permalink:  ../1314268904633-4733958.post@n5.nabble.com/
Also on:    postgresql.org/message-id/1314268904633-4733958.post@n5.nabble.com

 · 

reply

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: dieter.salathe@syslink.ch
  Subject: Re: SQL_ASCII charset conversion
  In-Reply-To: <1314268904633-4733958.post@n5.nabble.com>
  References: <1314268904633-4733958.post@n5.nabble.com>

* 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