From: Emmanuel Guiton <emmanuel.guiton@intrinsec.com>
To: pgsql-jdbc@postgresql.org
Subject: JDBC driver, client_encoding and a SQL_ASCII database in production
Date: Wed, 10 Mar 2010 12:18:23 +0100
Message-ID: <4B977FFF.9030204@intrinsec.com> (raw)
Hello All,
I am using Pentaho Data Integration (PDI) to transform a database in
production to some other database, correctly structured for my business
intelligence analysis purpose.
PDI uses the JDBC driver to perform the transformation. The issue is
that JDBC only works with UTF-8 as client_encoding while the charset of
the database in production is SQL_ASCII and was filled with ISO-8859-1
characters (and is full of characters such as é è ô ...). The only way I
can get the correct string back is to use client_encoding='LATIN1'.
Changing the character set of the original database is not an option as
it is in production.
Anyone has a good idea on how could I proceed to get correctly the content ?
Regards,
- Emmanuel
--
Ingénieur étude et développement
Intrinsec
215, avenue Georges Clemenceau
92000 Nanterre
http://www.intrinsec.com
Emmanuel GUITON
Ingénieur développement
Standard : +33 1 41 91 77 77 l Fax : +33 1 41 91 77 78
215, avenue Georges Clemenceau l 92024 NANTERRE
http://www.intrinsec.com/img_site/content/20091216V2_Intrinsec_diversite.pdfhttp://www.intrinsec.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: emmanuel.guiton@intrinsec.com
Subject: Re: JDBC driver, client_encoding and a SQL_ASCII database in production
In-Reply-To: <4B977FFF.9030204@intrinsec.com>
References: <4B977FFF.9030204@intrinsec.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