Problem with Euro currency symbol with JDBC-Driver on WinNT

From: pgsql-bugs(at)postgresql(dot)org
To: pgsql-bugs(at)postgresql(dot)org
Subject: Problem with Euro currency symbol with JDBC-Driver on WinNT
Date: 2001-07-05 13:40:38
Message-ID: 200107051340.f65Decc22746@hub.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

wolfgang (w(dot)hickl(at)gis-systemhaus(dot)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 isnt 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

Browse pgsql-bugs by date

  From Date Subject
Next Message Carl Anderson 2001-07-06 00:27:52 shared library compile error
Previous Message Bruce Momjian 2001-07-05 03:14:50 Re: configure finds ant (screensaver)