Re: JDBC driver, client_encoding and a SQL_ASCII database in production

Поиск
Список
Период
Сортировка
От Oliver Jowett
Тема Re: JDBC driver, client_encoding and a SQL_ASCII database in production
Дата
Msg-id 4B9813F9.3060801@opencloud.com
обсуждение исходный текст
Ответ на Re: JDBC driver, client_encoding and a SQL_ASCII database in production  (Emmanuel Guiton <emmanuel.guiton@intrinsec.com>)
Ответы Re: JDBC driver, client_encoding and a SQL_ASCII database in production
Список pgsql-jdbc
Emmanuel Guiton wrote:

> Would there be a way to get the binary content of text field ?
> Maybe that could be the solution, performing the encoding conversion at
> the application level, then.

That's not simple, the conversion from network data to String is done
very early, well before the data gets anywhere near the application level.

You may have to run with a modified driver that you have patched to
understand encodings other than UTF-8.

-O

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

Предыдущее
От: Mark Kirkwood
Дата:
Сообщение: Re: org.postgresql.util.PSQLException: Protocol error. Session setup failed
Следующее
От: Kris Jurka
Дата:
Сообщение: Re: JDBC driver, client_encoding and a SQL_ASCII database in production