Re: Encoding Problem

From: Oliver Jowett <oliver(at)opencloud(dot)com>
To: Jerome Colombie <jcolombie(at)gmx(dot)ch>
Cc: pgsql-jdbc(at)postgresql(dot)org
Subject: Re: Encoding Problem
Date: 2005-01-12 21:52:27
Message-ID: 41E59C1B.6050804@opencloud.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Responses

Browse pgsql-jdbc by date

  From Date Subject
Next Message Kris Jurka 2005-01-12 21:53:10 Re: Encoding Problem
Previous Message Jerome Colombie 2005-01-12 21:22:33 Encoding Problem