Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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


pgsql-bugs by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group