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 30860D83A5 for ; Sat, 3 Sep 2005 08:34:38 -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 64113-07 for ; Sat, 3 Sep 2005 11:34:36 +0000 (GMT) Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.177]) by svr1.postgresql.org (Postfix) with ESMTP id C289DD819B for ; Sat, 3 Sep 2005 08:34:34 -0300 (ADT) Received: from p5089E5D3.dip.t-dialin.net [80.137.229.211] (helo=[192.168.1.121]) by mrelayeu.kundenserver.de with ESMTP (Nemesis), id 0ML21M-1EBWI93eSf-0005MN; Sat, 03 Sep 2005 13:34:37 +0200 Message-ID: <43198A48.5070008@online.de> Date: Sat, 03 Sep 2005 13:34:32 +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: Dave Page , pgsql-odbc@postgresql.org Subject: Re: Unicode support, first test results 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.186 required=5 tests=[AWL=0.186] X-Spam-Level: X-Archive-Number: 200509/41 X-Sequence-Number: 5939 Dave Page schrieb: >>Hi Dave, >> >>just send it to me (the windows dll). Even though I just switched my >>linux server to UTF-8. :-) >>I'll test it with the old enviroment. >> >> > >Attached. > >Thanks, Dave > > Hi Dave, I didn't have much time to test the driver this week. But there are some preliminary results: I created a Latin1 database on my unicode linux server (with initdb utf8. I have to repeat the same test with a local C initdb). 1. I can insert german characters (a, o, u Umlaut). 2. When my application reads them back, I get '?'. Funny! 3. I put the string SET CLIENT_ENCODING=UNICODE in the driver 4. Now I can read back my german characters. Puzzles me even more. Next test: 1. I start with SET CLIENT_ENCODING=UNICODE in the driver 2. I try to insert characters with a german character 3. The server reports: ERROR: could not convert UTF-8 character 0x00f6 to ISO8859-1 So it seems, like some in the list already reported, that it just works one way. I would assume, that the conversion in the driver works, but somehow the conversion is not called properly. Can't we just put tags in the driver for test purposes. So I know the driver isn't using unicode at all. Furthermore I couldn't get the driver working with unicode so far. It seems that the wrong combination of conversions in both directions may be a part of it. But more tests have to be done yet. I will have more time to test the driver next week. regards Johann