Re: Encoding Problem - Mailing list pgsql-jdbc

From Oliver Jowett
Subject Re: Encoding Problem
Date
Msg-id 41E59C1B.6050804@opencloud.com
Whole thread Raw
In response to Encoding Problem  (Jerome Colombie <jcolombie@gmx.ch>)
Responses Re: Encoding Problem
List pgsql-jdbc
Jerome Colombie wrote:

> I tried different server encodings like sql_ascii or latin1 but I always
> get these strange characters in pgAdmin III and with jdbc. I also tried
> to specify the charSet property with the connection string in jdbc but
> that didn't help.
> Does anyone know how I can get the correct strings with umlaut (e.g.
> ä,ö,ü) in java?
> I thought this problem would be solved in the newer versions, but even
> in rc2 the problem still exists.

It should "just work" when using a server encoding of LATIN1 (I assume
you can represent umlaut-ed characters in LATIN1?) or UNICODE.

Can you provide some example code that fails? Also, which driver version
are you using?

-O

pgsql-jdbc by date:

Previous
From: Kris Jurka
Date:
Subject: Re: Encoding Problem
Next
From: Kris Jurka
Date:
Subject: Re: Encoding Problem