X-Original-To: pgsql-jdbc-postgresql.org@postgresql.org Received: from localhost (wm.hub.org [200.46.204.128]) by postgresql.org (Postfix) with ESMTP id 113D39FA6B2 for ; Thu, 24 Aug 2006 14:48:07 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.128]) (amavisd-new, port 10024) with ESMTP id 22189-04 for ; Thu, 24 Aug 2006 17:47:46 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey- Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by postgresql.org (Postfix) with ESMTP id 8660A9F931A for ; Thu, 24 Aug 2006 14:47:46 -0300 (ADT) Received: from list by ciao.gmane.org with local (Exim 4.43) id 1GGJIf-0001Qv-R7 for pgsql-jdbc@postgresql.org; Thu, 24 Aug 2006 19:47:29 +0200 Received: from ppp-82-135-93-24.dynamic.mnet-online.de ([82.135.93.24]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 24 Aug 2006 19:47:29 +0200 Received: from spam_eater by ppp-82-135-93-24.dynamic.mnet-online.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 24 Aug 2006 19:47:29 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: pgsql-jdbc@postgresql.org From: Thomas Kellerer Subject: Re: Small problem with special characters Date: Thu, 24 Aug 2006 19:47:10 +0200 Lines: 18 Message-ID: References: <27533.1156088781@sss.pgh.pa.us> <29117.1156097748@sss.pgh.pa.us> <7105.1156440494@sss.pgh.pa.us> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: ppp-82-135-93-24.dynamic.mnet-online.de User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; de; rv:1.8.0.5) Gecko/20060719 Thunderbird/1.5.0.5 Mnenhy/0.7.4.0 In-Reply-To: <7105.1156440494@sss.pgh.pa.us> X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=3.816 tagged_above=0 required=5 tests=SPF_HELO_SOFTFAIL, SPF_SOFTFAIL X-Spam-Level: *** X-Archive-Number: 200608/126 X-Sequence-Number: 15653 Tom Lane wrote on 24.08.2006 19:28: > Thomas Kellerer writes: >> Hmm. Is there a way I can find out which encoding was specified with initdb? > > pg_controldata will show you the locale settings that initdb saw. The > encoding assigned to template0 is what initdb deduced it should use > (unless you overrode it with the -E switch). I only found a pg_settings, that contains the following: server_encoding = UTF8 client_encoding = UNICODE When I run createdb dbname this is created with UTF8, so it must have been something stupid on my side. I don't think there is a problem with the installer. Thanks for your help Thomas