Re: JDBC driver, PGSQL 7.3.2 and accents characters

From: Barry Lind <blind(at)xythos(dot)com>
To: Davide Romanini <romaz(at)libero(dot)it>
Cc: pgsql-jdbc(at)postgresql(dot)org
Subject: Re: JDBC driver, PGSQL 7.3.2 and accents characters
Date: 2003-03-21 23:18:52
Message-ID: 3E7B9DDC.4020005@xythos.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

Davide Romanini wrote:
> You surely are right, but... my data is already stored in the database.
> And when I work with them with psql or the odbc driver (linking tables
> in M$ Access) my accents are there without any problem. Why the jdbc
> driver doesn't work while the others program all work?

Java uses UCS2 as its internal character set. So jdbc must do a
character set translation for all string data. In psql (and probably
odbc), by default no translation is needed.

--Barry

In response to

Responses

Browse pgsql-jdbc by date

  From Date Subject
Next Message Tony Grant 2003-03-22 07:55:51 Re: JDBC driver, PGSQL 7.3.2 and accents characters
Previous Message Davide Romanini 2003-03-21 23:11:53 Re: JDBC driver, PGSQL 7.3.2 and accents characters