X-Original-To: pgsql-odbc-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id F115452905 for ; Thu, 4 Aug 2005 07:31:03 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 95150-03 for ; Thu, 4 Aug 2005 10:30:55 +0000 (GMT) Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.188]) by svr1.postgresql.org (Postfix) with ESMTP id 9FBD352941 for ; Thu, 4 Aug 2005 07:30:53 -0300 (ADT) Received: from p5089CE42.dip.t-dialin.net [80.137.206.66] (helo=[192.168.1.121]) by mrelayeu.kundenserver.de with ESMTP (Nemesis), id 0MKwtQ-1E0d003ROq-0006C3; Thu, 04 Aug 2005 12:30:52 +0200 Message-ID: <42F1EE5C.5060404@online.de> Date: Thu, 04 Aug 2005 12:30:52 +0200 From: Johann Zuschlag User-Agent: Mozilla Thunderbird 1.0.6 (Windows/20050716) X-Accept-Language: de-DE, de, en-us, en MIME-Version: 1.0 To: pgsql-odbc@postgresql.org Subject: Re: Usind database with encoding UNICODE and vovel References: <42F1AFEC.1020906@joops.com> In-Reply-To: <42F1AFEC.1020906@joops.com> Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Provags-ID: kundenserver.de abuse@kundenserver.de login:412dbd38c76468b7d75e624f8951f259 X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.743 tagged_above=0 required=5 tests=AWL, HTML_50_60, HTML_MESSAGE, HTML_TAG_EXIST_TBODY, MIME_HTML_ONLY X-Spam-Level: X-Archive-Number: 200508/49 X-Sequence-Number: 5688 Hi,

I used:

Debian Sarge with PostgreSQL 7.4.7
My application on Win XP SP2
ODBC-driver: 08.01.1003

More or less the same problem with LATIN1 (server) and UNICODE (client)
but PgAdminIII doesn't show äöüß later.

Regards

Johann

Josef Springer schrieb:

Using no vovels (umlaut) work fine. But using a vovel, curious effect.
I have tried all server and client variations with sense with this result. All tests are done with a string column containing äöüß
Server database encoding
Client encoding
Result
LATIN
LATIN
Writing works. Reading gets the bytearray 63.63,0,1,0,2,47,0
LATIN
UNICODE Reading works bur witing gets an error 'Bad code xxx for  UNICODE'
UNICODE
UNICODE
Writing works. Reading gets the bytearray 63.63,0,1,0,2,47,0
UNICODE
LATIN
Writing works. Reading gets the bytearray 63.63,0,1,0,2,47,0
UNICODE
WIN1250
Writing works. Reading gets the bytearray 63.63,0,1,0,2,47,0
SQL_ASCII
UNICODE
Writing works. Reading gets the bytearray 63.63,0,1,0,2,47,0

In PgAdminIII the column is displayed correct in all server database variations !