X-Original-To: pgsql-odbc-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 0DFBCD88C6 for ; Mon, 5 Sep 2005 06:40:20 -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 38725-02 for ; Mon, 5 Sep 2005 09:40:13 +0000 (GMT) Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.187]) by svr1.postgresql.org (Postfix) with ESMTP id C4BDFD85F5 for ; Mon, 5 Sep 2005 06:40:12 -0300 (ADT) Received: from p548F1B0D.dip0.t-ipconnect.de [84.143.27.13] (helo=[84.143.27.13]) by mrelayeu.kundenserver.de with ESMTP (Nemesis), id 0MKwh2-1ECDSW1T3A-0007kR; Mon, 05 Sep 2005 11:40:12 +0200 Message-ID: <431C127B.7080907@online.de> Date: Mon, 05 Sep 2005 11:40:11 +0200 From: Johann Zuschlag User-Agent: Mozilla Thunderbird 1.0.2 (Windows/20050317) X-Accept-Language: de-DE, de, en-us, en MIME-Version: 1.0 To: pgsql-odbc@postgresql.org Cc: Dave Page Subject: Re: Continuing encoding fun.... References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed 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 required=5 tests=[none] X-Spam-Level: X-Archive-Number: 200509/50 X-Sequence-Number: 5948 Dave Page schrieb: > > > > >>-----Original Message----- >>From: pgsql-odbc-owner@postgresql.org >>[mailto:pgsql-odbc-owner@postgresql.org] On Behalf Of Dave Page >>Sent: 03 September 2005 20:48 >>To: pgsql-odbc@postgresql.org >>Cc: Hiroshi Saito; Marko Ristola; Johann Zuschlag >>Subject: [ODBC] Continuing encoding fun.... >> >>Therefore, it seems to me that the only thing to do is to >>reinstate the >>#ifdef UNICODE preprocessor definitions in the source code (that I now >>with I hadn't removed!), and ship 2 versions of the driver - a Unicode >>one, and an ANSI/Multibyte version (ie. What 07.xx was). >> >> > >Attached is a patch to do this (apologies for the size, it seems that >options.c had broken line ends). > >With this patch, you can build either the old style ANSI/Multibyte >driver, or the Unicode driver. I've also removed the -libpq suffix that >was added for testing, as this patch gives the driver a new name anyway. >When installed on a Windows system, you then get: > >psqlodbca.dll "PostgreSQL ANSI" >psqlodbcw.dll "PostgreSQL Unicode" > >Unless anyone has a better solution, I think this is the best fix to >allow users with non-Unicode friendly apps to work as they used to with >the older driver. > >Please shout ASAP if you object!! > >Regards, Dave > > It is ok for me. Can you send me the dll for the ANSI Driver? It is not possible to just put a switch in the driver menu? Regards, Johann