Re: getTables() doesn't handle umlauts correctly

From: Thomas Kellerer <spam_eater(at)gmx(dot)net>
To: pgsql-jdbc(at)postgresql(dot)org
Subject: Re: getTables() doesn't handle umlauts correctly
Date: 2010-11-22 22:41:24
Message-ID: icerif$7p2$1@dough.gmane.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

> getTables() does return one table, but the umlaut is garbled. Sorry
> for not being clear on this.
>
>
> What is the output of Charset.defaultCharset() in those java
> processes? Are you forcing things to UTF-8? I've had problems in the
> past with JVMs coming up with surprising default charsets, forcing me
> to override the OS or specify the defult charset with a system
> property to get things to work correctly.

What I find irritating is that I can run SELECT or INSERT statements against that table without problems.

So the transmission of SQL Statements (through the Statement object) seems to be working with a different encoding...

Regards
Thomas

In response to

Responses

Browse pgsql-jdbc by date

  From Date Subject
Next Message Kris Jurka 2010-11-23 07:28:02 Re: TypeInfoCache.getPGArrayElement - determine if array
Previous Message Thomas Kellerer 2010-11-22 22:30:21 Re: getTables() doesn't handle umlauts correctly