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
Ответ на
Список
Дерево обсуждения
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 Oliver Jowett <oliver@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 Oliver Jowett <oliver@opencloud.com>
Re: JDBC driver, client_encoding and a SQL_ASCII database in production Kris Jurka <books@ejurka.com>
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
Дата:
От: Kris Jurka
Дата:
FAQ