X-Original-To: pgsql-odbc-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by postgresql.org (Postfix) with ESMTP id 278EE11F6757 for ; Thu, 6 Apr 2006 14:57:34 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 30861-04 for ; Thu, 6 Apr 2006 14:57:30 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey- Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.183]) by postgresql.org (Postfix) with ESMTP id 5367611F671F for ; Thu, 6 Apr 2006 14:57:27 -0300 (ADT) Received: from [84.143.39.7] (helo=[192.168.178.20]) by mrelayeu.kundenserver.de (node=mrelayeu1) with ESMTP (Nemesis), id 0MKwpI-1FRYjP0YZk-0002Ls; Thu, 06 Apr 2006 19:57:20 +0200 Message-ID: <44355682.7080406@online.de> Date: Thu, 06 Apr 2006 19:57:22 +0200 From: Johann Zuschlag User-Agent: Thunderbird 1.5 (Windows/20051201) MIME-Version: 1.0 To: Hiroshi Inoue CC: Dave Page , pgsql-odbc@postgresql.org Subject: Re: Unicode is not UTF-8 References: <442C3452.5020704@online.de> <442C4F10.3090004@tpf.co.jp> <442D5DFB.4080501@online.de> <442D5FD1.4010909@online.de> <442DD8E9.2080007@tpf.co.jp> <4430E80F.1010706@online.de> <4432888B.30801@tpf.co.jp> In-Reply-To: <4432888B.30801@tpf.co.jp> 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, score=0 required=5 tests=[none] X-Spam-Score: 0 X-Spam-Level: X-Archive-Number: 200604/23 X-Sequence-Number: 7550 Hiroshi Inoue schrieb: > b) locale = de_DE.UTF-8 >> backend-2 = Unicode > > > What's the result of > show server_encoding Hi Hiroshi, when I use an unicode database it is UNICODE, for LATIN1 it's of course LATIN1. (and for LATIN9 it's LATIN9) Thank you for your explanations. Now I'm understanding what is happening with a windows client on one end and PostgreSQL on the other end. I am just experimenting with the three above settings (initdb with ISO8859-15, locale ISO8859-15 only). So far it seems to work pretty well. No problems with an application using psqlodbc driver. All German characters including euro (LATIN9, UNICODE) seem to work. Sorting is ok. pgAdminIII is producing the same output. psql works as well, except psql in conjunction with unicode behaves still a little bit strange. Maybe my locale setting is not appropriate, but de_DE.UTF-8 doesn't change it. Will check my console later. Unfortunately I couldn't test 7.03.262 (psqlodbc35W.dll) since the zip file has some kind of error. Regards, Johann