Обсуждение: Problem with Euro currency symbol with JDBC-Driver on WinNT

Поиск
Список
Период
Сортировка

Problem with Euro currency symbol with JDBC-Driver on WinNT

От
pgsql-bugs@postgresql.org
Дата:
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