Problem with Euro currency symbol with JDBC-Driver on WinNT - Mailing list pgsql-bugs

From pgsql-bugs@postgresql.org
Subject Problem with Euro currency symbol with JDBC-Driver on WinNT
Date
Msg-id 200107051340.f65Decc22746@hub.org
Whole thread Raw
List 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 by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: configure finds ant (screensaver)
Next
From: Justin Clift
Date:
Subject: Postmaster 7.1.2 hanging