From: Thomas Kellerer <spam_eater@gmx.net>
To: pgsql-jdbc@postgresql.org
Subject: Re: Small problem with special characters
Date: Thu, 24 Aug 2006 19:47:10 +0200
Message-ID: <eckomu$i5i$1@sea.gmane.org> (raw)
In-Reply-To: <7105.1156440494@sss.pgh.pa.us>
References: <ec9jsb$v5e$1@sea.gmane.org>
<27533.1156088781@sss.pgh.pa.us>
<eca2o4$4k7$1@sea.gmane.org>
<Pine.BSO.4.63.0608201140120.30732@leary2.csoft.net>
<eca5ro$clo$1@sea.gmane.org>
<29117.1156097748@sss.pgh.pa.us>
<eckl8c$5a2$1@sea.gmane.org>
<7105.1156440494@sss.pgh.pa.us>
Tom Lane wrote on 24.08.2006 19:28:
> Thomas Kellerer <spam_eater@gmx.net> 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
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: Small problem with special characters
In-Reply-To: <eckomu$i5i$1@sea.gmane.org>
References: <ec9jsb$v5e$1@sea.gmane.org> <27533.1156088781@sss.pgh.pa.us> <eca2o4$4k7$1@sea.gmane.org> <Pine.BSO.4.63.0608201140120.30732@leary2.csoft.net> <eca5ro$clo$1@sea.gmane.org> <29117.1156097748@sss.pgh.pa.us> <eckl8c$5a2$1@sea.gmane.org> <7105.1156440494@sss.pgh.pa.us> <eckomu$i5i$1@sea.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