X-Original-To: pgsql-odbc-postgresql.org@localhost.postgresql.org Received: from localhost (neptune.hub.org [200.46.204.2]) by svr1.postgresql.org (Postfix) with ESMTP id 385C6D1B44B for ; Thu, 4 Dec 2003 14:39:00 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (neptune.hub.org [200.46.204.2]) (amavisd-new, port 10024) with ESMTP id 42843-07 for ; Thu, 4 Dec 2003 10:38:32 -0400 (AST) Received: from mail.epost.de (unknown [193.28.100.165]) by svr1.postgresql.org (Postfix) with ESMTP id 49C74D1B4B7 for ; Thu, 4 Dec 2003 10:38:20 -0400 (AST) Received: from seneca.benny.turtle-trading.net.epost.de (193.99.153.30) by mail.epost.de (6.7.019) id 3FC39ECA001E3B94; Thu, 4 Dec 2003 15:38:22 +0100 To: "Gunnar Groetschel" Cc: "Pgsql-Odbc (E-Mail)" Subject: Re: PLEASE: I really need german characters References: From: Benjamin Riefenstahl Date: Thu, 04 Dec 2003 15:37:07 +0100 In-Reply-To: (Gunnar Groetschel's message of "Thu, 4 Dec 2003 12:35:08 +0100") Message-ID: User-Agent: Gnus/5.1001 (Gnus v5.10.1) Emacs/21.3.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200312/11 X-Sequence-Number: 3549 Hi Gunnar, "Gunnar Groetschel" writes: > If i use the odbc driver i see only sh** (M=C3=B6ller should be M=FCller). 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