From: Benjamin Riefenstahl <Benjamin.Riefenstahl@epost.de>
To: Gunnar Groetschel <ggroetschel@sokoma.de>
Cc: Pgsql-Odbc (E-Mail) <pgsql-odbc@postgresql.org>
Subject: Re: PLEASE: I really need german characters
Date: Thu, 04 Dec 2003 15:37:07 +0100
Message-ID: <m3y8ts8x9o.fsf@seneca.benny.turtle-trading.net> (raw)
In-Reply-To: <CCD5F31905BC4F43984EAB37695E0B3C2ECD@helios.Sokoma.local>
References: <CCD5F31905BC4F43984EAB37695E0B3C2ECD@helios.Sokoma.local>
Hi Gunnar,
"Gunnar Groetschel" <ggroetschel@sokoma.de> writes:
> If i use the odbc driver i see only sh** (Möller should be Müller).
That looks like UTF-8.
> psql -l shows me, that the database is in SQL_ASCII (what should be
> ok - after 2 hours reading manual pages).
I haven't read the manual for this, but strictly speaking "ASCII"
means, that you don't have umlauts at all, or rather that their
encoding is undefined. Which is not good for a stable database,
because with any update of any tool, that tool can change its internal
default interpretation and potentially start corrupting data. You
really do want a database encoding that supports your data explicitly.
Some ODBC-based tools let you configure how to encode data going in
and out of the ODBC API. Also in the past I have had success with
issuing
SET CLIENT_ENCODING TO 'UNICODE'
on the connection once to get the data in UTF-8. You may want to see,
if a similar statement can be used to change the DB interface encoding
to Latin-1 or Windows-1252.
benny
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-odbc@postgresql.org
Cc: Benjamin.Riefenstahl@epost.de, ggroetschel@sokoma.de
Subject: Re: PLEASE: I really need german characters
In-Reply-To: <m3y8ts8x9o.fsf@seneca.benny.turtle-trading.net>
References: <CCD5F31905BC4F43984EAB37695E0B3C2ECD@helios.Sokoma.local> <m3y8ts8x9o.fsf@seneca.benny.turtle-trading.net>
* 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