From: Oliver Jowett <oliver@opencloud.com>
To: Jerome Colombie <jcolombie@gmx.ch>
Cc: pgsql-jdbc@postgresql.org
Subject: Re: Encoding Problem
Date: Thu, 13 Jan 2005 10:52:27 +1300
Message-ID: <41E59C1B.6050804@opencloud.com> (raw)
In-Reply-To: <41E59519.7080807@gmx.ch>
References: <41E59519.7080807@gmx.ch>
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-jdbc@postgresql.org
Cc: oliver@opencloud.com, jcolombie@gmx.ch
Subject: Re: Encoding Problem
In-Reply-To: <41E59C1B.6050804@opencloud.com>
References: <41E59519.7080807@gmx.ch> <41E59C1B.6050804@opencloud.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox