pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Thomas Kellerer <spam_eater@gmx.net>
To: pgsql-jdbc@postgresql.org
Subject: Re: getTables() doesn't handle umlauts correctly
Date: Mon, 22 Nov 2010 23:41:24 +0100
Message-ID: <icerif$7p2$1@dough.gmane.org> (raw)
In-Reply-To: <AANLkTingOB+gDrCtz4GDe5Z9x-gLfAOFk6U3d_FfKZOq@mail.gmail.com>
References: <icc7cc$19a$1@dough.gmane.org>
	<icdqc3$v7n$1@news.albasani.net>
	<icdsfe$7j8$1@dough.gmane.org>
	<AANLkTikcbX=9JD-R07fLa5YrHJc4yRbi-YP-mLsAC8_G@mail.gmail.com>
	<4CEABC66.2010201@ttc-cmc.net>
	<iceeib$7iu$1@dough.gmane.org>
	<AANLkTingOB+gDrCtz4GDe5Z9x-gLfAOFk6U3d_FfKZOq@mail.gmail.com>

> 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



  





view thread (15+ messages)  latest in thread

Message-ID: <icerif$7p2$1@dough.gmane.org>
Permalink:  ../icerif$7p2$1@dough.gmane.org/
Also on:    postgresql.org/message-id/icerif$7p2$1@dough.gmane.org

 · 

reply

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: spam_eater@gmx.net
  Subject: Re: getTables() doesn't handle umlauts correctly
  In-Reply-To: <icerif$7p2$1@dough.gmane.org>
  References: <icc7cc$19a$1@dough.gmane.org> <icdqc3$v7n$1@news.albasani.net> <icdsfe$7j8$1@dough.gmane.org> <AANLkTikcbX=9JD-R07fLa5YrHJc4yRbi-YP-mLsAC8_G@mail.gmail.com> <4CEABC66.2010201@ttc-cmc.net> <iceeib$7iu$1@dough.gmane.org> <AANLkTingOB+gDrCtz4GDe5Z9x-gLfAOFk6U3d_FfKZOq@mail.gmail.com> <icerif$7p2$1@dough.gmane.org>

* 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