JDBC Encoding Issue (...again...)

Поиск
Список
Период
Сортировка
От Ron St-Pierre
Тема JDBC Encoding Issue (...again...)
Дата
Msg-id 3FB65E20.1070602@syscor.com
обсуждение исходный текст
Список pgsql-jdbc
I am having the same problem that others have had - some characters in
the database are not being displayed properly because my database coding
is set to SQL_ASCII and not to UNICODE. I am using postgres 7.3.4 and
the jdbc driver from pg73jdbc.jar. I've seen from the thread ->Re:
[HACKERS] Charset encoding and accents<- in the archives at
http://archives.postgresql.org/pgsql-jdbc/2001-09/msg00005.php that I am
not allowed to change the encoding when creating my Connection object.

I was wondering if there is a *temporary* workaround that I can use to
either a) change the encoding when creating the connection, or b)
prevent anyone from entering non-SQL_ASCII characters into the database.
One of our clients has 8 databases which are using the SQL_ASCII
encoding and I can't just take them down and fix them. When 7.4 stable
is out we will probably upgrade the database and change the encoding at
the same time, but in the meantime we have a problem.

Any ideas?

Thanks
Ron


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

Предыдущее
От: Kris Jurka
Дата:
Сообщение: Re: example.datestyle on 7.4?
Следующее
От: "Karl von Randow"
Дата:
Сообщение: org.postgresql.Driver not thread-safe