From: Thomas Kellerer <spam_eater@gmx.net>
To: pgsql-jdbc@postgresql.org
Subject: Re: getTables() doesn't handle umlauts correctly
Date: Thu, 25 Nov 2010 22:51:57 +0100
Message-ID: <icmlpr$jcl$1@dough.gmane.org> (raw)
In-Reply-To: <4CECC215.7030401@ejurka.com>
References: <icgimh$46u$1@dough.gmane.org>
<4CECC215.7030401@ejurka.com>
Kris Jurka wrote on 24.11.2010 08:43:
> On 11/23/2010 6:22 AM, Thomas Kellerer wrote:
>> table name: umlaut_test_� codepoints: 117 109 108 97 117 116 95 116
>> 101 115 116 95 65533 number of rows: 1 data: öäü codepoints: 246
>> 228 252
>>
>
> I can reproduce this, but only with databases that have a mismatched
> encoding and ctype/collation. That's supposed to be tough to mess up
> now, so I was only able to do it on older server versions. What do
> you have for encoding, lc_collation, and lc_ctype?
encoding: UTF-8
lc_collation: German_Germany.1252
lc_ctype: German_Germany.1252
>\l output from psql would be useful.
List of databases
Name | Owner | Encoding | Collation | Ctype | Access privileges
-------------+----------+----------+---------------------+---------------------+-----------------------
thomas | thomas | UTF8 | German_Germany.1252 | German_Germany.1252 |
For completeness:
version
-------------------------------------------------------------
PostgreSQL 9.0.1, compiled by Visual C++ build 1500, 32-bit
(1 row)
JDBC driver: PostgreSQL 9.0 JDBC4 (build 801)
Regards
Thomas
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: <icmlpr$jcl$1@dough.gmane.org>
References: <icgimh$46u$1@dough.gmane.org> <4CECC215.7030401@ejurka.com> <icmlpr$jcl$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