Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-jdbc by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group