Received: from maia.hub.org (maia-2.hub.org [200.46.204.251]) by mail.postgresql.org (Postfix) with ESMTP id A82F01337B9A for ; Wed, 24 Nov 2010 03:52:15 -0400 (AST) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.251]) (amavisd-maia, port 10024) with ESMTP id 49937-04 for ; Wed, 24 Nov 2010 07:52:08 +0000 (UTC) X-Greylist: delayed 00:09:02.879077 by SQLgrey-1.7.6 Received: from mail63.csoft.net (mail63.csoft.net [205.205.214.4]) by mail.postgresql.org (Postfix) with ESMTP id 630B11337B6C for ; Wed, 24 Nov 2010 03:52:08 -0400 (AST) Received: from mail63.csoft.net (localhost [127.0.0.1]) by mail63.csoft.net (Postfix) with ESMTP id 6C4D228413; Wed, 24 Nov 2010 02:43:04 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=csoft.net; h=message-id :date:from:mime-version:to:cc:subject:references:in-reply-to :content-type:content-transfer-encoding; s=sel1; bh=DRulURAb0sRF ohvOLLpJrpPvlHc=; b=G3skQ/WZZ4F731sQ7XBTrtKNOpbgd/pOAbicKei5sRps JV1oC7LjZmVUt52tthz69PjXl4U/tzjsSRUN3MCDi5f01XPoMsjkXr0byPFBVH2A cR/iHheq8BRWTyI+zHyTk/MnucVyG1lj60C7/iZH3K7O/pE86Zr2gm9k/cfRuwc= Received: from [192.168.7.181] (cpe-24-24-224-57.socal.res.rr.com [24.24.224.57]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by mail63.csoft.net (Postfix) with ESMTPSA id 138EE28403; Wed, 24 Nov 2010 02:43:03 -0500 (EST) Message-ID: <4CECC215.7030401@ejurka.com> Date: Tue, 23 Nov 2010 23:43:17 -0800 From: Kris Jurka User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.12) Gecko/20101027 Thunderbird/3.1.6 MIME-Version: 1.0 To: Thomas Kellerer CC: pgsql-jdbc@postgresql.org Subject: Re: getTables() doesn't handle umlauts correctly References: In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.9 tagged_above=-10 required=5 tests=BAYES_00=-1.9 X-Spam-Level: X-Archive-Number: 201011/80 X-Sequence-Number: 21201 On 11/23/2010 6:22 AM, Thomas Kellerer wrote: > table name: umlaut_test_=EF=BF=BD > codepoints: 117 109 108 97 117 116 95 116 101 115 116 95 65533 > number of rows: 1 > data: =C3=B6=C3=A4=C3=BC > codepoints: 246 228 252 > I can reproduce this, but only with databases that have a mismatched=20 encoding and ctype/collation. That's supposed to be tough to mess up=20 now, so I was only able to do it on older server versions. What do you=20 have for encoding, lc_collation, and lc_ctype? \l output from psql=20 would be useful. Kris Jurka