pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Thomas De Vos <devos_thomas@yahoo.co.uk>
To: ThomasDeVos@it-enterprise.co.uk
To: pgsql-jdbc-owner@postgresql.org
Cc: pgsql-jdbc@postgresql.org
Subject: Re: Encoding
Date: Wed, 8 May 2002 17:48:44 +0100
Message-ID: <LAEOKCFKPAPLPGPOBHJPGEDLCEAA.devos_thomas@yahoo.co.uk> (raw)
In-Reply-To: <LAEOKCFKPAPLPGPOBHJPMEBLCEAA.devos_thomas@yahoo.co.uk>

Hiya,

The problem seems to be solved. Added debugging information in the Postgres
Driver and at the end after several tests I was able to conclude that it
didn't has anything to do with the driver.
So I wrote a few sample apps. (reading - writing from file with extended
character set in it) and it was the BlackDown JVM who behaves very strange
and also the Sun's JVM seems to behave very strange and translate (converts)
these characters into "?".
Only the IBM's JVM seems to work fine.

The OS is Debian Linux with Blackdown JVM who gave me a few nights without
rest!!!!

Thomas De Vos

[Thomas De Vos]  -----Original Message-----
From: pgsql-jdbc-owner@postgresql.org
[mailto:pgsql-jdbc-owner@postgresql.org]On Behalf Of Thomas De Vos
Sent: 06 May 2002 20:58
To: pgsql-jdbc-owner@postgresql.org
Cc: pgsql-jdbc@postgresql.org; ThomasDeVos@it-enterprise.co.uk
Subject: [JDBC] Encoding


  Hiya,

  I was 2 months ago using the sourceforge JDBC driver on WinNt as client
and HP-UX as server (so PostgresQl) server. At time I had problems with the
extented ASII set, all the characters were converted to "?". So I switched
to the org.postgresql.Driver and problem seems to be solved.
  Now 2 months later we have to go into production and the target OS is
Debian Linux for client and server. And guess what I can see the same
problem, all characters belonging to the extented set are converted to "?".

  I have written a small testprogram, create one connection and tries to
insert data with Java and JDBC. This seems not to work. But .... if I insert
data with psql -h ... -f insertcommandfile.sql and look then in the database
then there is no problem at all. Extented Characters are inserted. So I
suppose the Db is correctly configured. (eg client-encoding and server
encoding).
  I have seen that ages ago the JDBC driver had problems with encoding but
this was solved I thought.
  I'm testing with this character: é, but also other characters has the same
problem.

  I need help .... Real help ...

  Kind regards,

  Thomas De Vos
  IT Enterprise Ltd
  Phone:  00 44 (0)127 650 5385
  Mobile: 00 44 (0)777 990 7717
  ThomasDeVos@it-enterprise.co.uk

view thread (8+ messages)  latest in thread

Message-ID: <LAEOKCFKPAPLPGPOBHJPGEDLCEAA.devos_thomas@yahoo.co.uk>
Permalink:  ../LAEOKCFKPAPLPGPOBHJPGEDLCEAA.devos_thomas@yahoo.co.uk/
Also on:    postgresql.org/message-id/LAEOKCFKPAPLPGPOBHJPGEDLCEAA.devos_thomas@yahoo.co.uk

 · 

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: devos_thomas@yahoo.co.uk, ThomasDeVos@it-enterprise.co.uk, pgsql-jdbc-owner@postgresql.org
  Subject: Re: Encoding
  In-Reply-To: <LAEOKCFKPAPLPGPOBHJPGEDLCEAA.devos_thomas@yahoo.co.uk>
  References: <LAEOKCFKPAPLPGPOBHJPMEBLCEAA.devos_thomas@yahoo.co.uk> <LAEOKCFKPAPLPGPOBHJPGEDLCEAA.devos_thomas@yahoo.co.uk>

* 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