Re: JDBC driver, PGSQL 7.3.2 and accents characters

Поиск
Список
Период
Сортировка
От Barry Lind
Тема Re: JDBC driver, PGSQL 7.3.2 and accents characters
Дата
Msg-id 3E7B9DDC.4020005@xythos.com
обсуждение исходный текст
Ответ на Re: JDBC driver, PGSQL 7.3.2 and accents characters  (Davide Romanini <romaz@libero.it>)
Список 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



В списке pgsql-jdbc по дате отправления:

Предыдущее
От: Davide Romanini
Дата:
Сообщение: Re: JDBC driver, PGSQL 7.3.2 and accents characters
Следующее
От: "Mario Rodriguez Villanea"
Дата:
Сообщение: spanish characters in postgres