Problem with Euro currency symbol with JDBC-Driver on WinNT

Поиск
Список
Период
Сортировка
От pgsql-bugs@postgresql.org
Тема Problem with Euro currency symbol with JDBC-Driver on WinNT
Дата
Msg-id 200107051340.f65Decc22746@hub.org
обсуждение исходный текст
Список pgsql-bugs
wolfgang (w.hickl@gis-systemhaus.de) reports a bug with a severity of 3
The lower the number the more severe it is.

Short Description
Problem with Euro currency symbol with JDBC-Driver on WinNT

Long Description
The Euro currency symbol isn´t stored right int a String field after an insert with JDBC.

Environment:
 Server:  PostgreSQL 7.1.2 on SuSE Linux 7.0
          => initdb -E LATIN 1

 Client:  WinNT 4.0, JDBC7.1-1.3.jar
          Java 1.3

  JDBC-Statement:   insert into texte (stringfield)  values ("<\200>")

  => The symbol is stored as "?".

There are no problems with psql and the same enviroment!!!

Problem:
in "org.postgresql.Connection.java" => ExecSQL(x,x) you get a wrong
Encoding for WinNT! If you set it to "Cp 1252" all would by fine for
this enviroment. But than other clients on Unix get thier problem ??


Sample Code


No file was uploaded with this report

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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: configure finds ant (screensaver)
Следующее
От: Justin Clift
Дата:
Сообщение: Postmaster 7.1.2 hanging