Thread: German Umlauts and JDBC

German Umlauts and JDBC

From
"Muehlencord, Joern"
Date:
Hi out there,

I have got a problem, using German Umlauts, Postgres, Java and JDBC. When I
try to access a Database called "Aufträge" (orders), I get a Exception, that
the database "Auftr?ge" is not available. It is indipendent wheter I write
"Aufträge", "Auftr\u00c;ge" or "Auftr#0228;ge". It seems to be, that the
data is not correctly sent through the JDBC driver. The database was set up
with enconding "win" to access it correctly with Microsoft Access, too. I
have tested it with "encoding=utf8", but this did not worked as well.
Any hints?

Kind regards
Joern Muehlencord

--
Joern Muehlencord
Wincor Nixdorf International GmbH
Services Division CSQ 05
Telefon: +49 (5251) 693 4464
Telefax: +49 (5251) 693 5565
<mailto:Joern.Muehlencord@wincor-nixdorf.com>


Re: German Umlauts and JDBC

From
Barry Lind
Date:
Joern,

Can you send a test case that shows the problem you are having?  And
also please indicate what versions of both the database and driver you
are using.

thanks,
--Barry


Muehlencord, Joern wrote:
> Hi out there,
>
> I have got a problem, using German Umlauts, Postgres, Java and JDBC. When I
> try to access a Database called "Aufträge" (orders), I get a Exception, that
> the database "Auftr?ge" is not available. It is indipendent wheter I write
> "Aufträge", "Auftr\u00c;ge" or "Auftr#0228;ge". It seems to be, that the
> data is not correctly sent through the JDBC driver. The database was set up
> with enconding "win" to access it correctly with Microsoft Access, too. I
> have tested it with "encoding=utf8", but this did not worked as well.
> Any hints?
>
> Kind regards
> Joern Muehlencord
>