Received: from maia.hub.org (maia-2.hub.org [200.46.204.251]) by mail.postgresql.org (Postfix) with ESMTP id F3CA81337B2F for ; Fri, 21 Jan 2011 14:22:16 -0400 (AST) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.251]) (amavisd-maia, port 10024) with ESMTP id 20713-08 for ; Fri, 21 Jan 2011 18:22:09 +0000 (UTC) X-Greylist: delayed 00:05:34.750271 by SQLgrey-1.7.6 Received: from winpg.jp (winpg.jp [182.48.52.43]) by mail.postgresql.org (Postfix) with ESMTP id 9D30D1336FA7 for ; Fri, 21 Jan 2011 14:22:08 -0400 (AST) Received: from [192.168.1.11] (p6090-ipad309funabasi.chiba.ocn.ne.jp [123.217.200.90]) by winpg.jp (Postfix) with ESMTPA id 9B12124A990; Sat, 22 Jan 2011 03:16:16 +0900 (JST) Message-ID: <4D39CD82.6070101@winpg.jp> Date: Sat, 22 Jan 2011 03:16:34 +0900 From: Hiroshi Saito User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; ja; rv:1.9.2.13) Gecko/20101207 Thunderbird/3.1.7 MIME-Version: 1.0 To: Kim Mortensen CC: adrian.klaver@gmail.com, pgsql-odbc@postgresql.org Subject: Re: problem connecting via ODBC when unicode (now in correct forum.). References: <201101210806.06568.adrian.klaver@gmail.com> <201101210833.49544.adrian.klaver@gmail.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.91 tagged_above=-10 required=5 tests=BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01 X-Spam-Level: X-Archive-Number: 201101/12 X-Sequence-Number: 10559 Hi. I think.. your create role "זרו" was saved by pgAdmin by UTF-8 in the database. pgAdmin uses the input value of connection directly, however, input value is in coincidence by UTF-8. however, psqlODBC uses the character code of environmental dependence as it is. as for japanese windows, It is not in agreement with a database by the reason for being SJIS. In the client-server protocol of PostgrSQL, judgment of encoding can't be performed at the time of connection. therefore, I think that it is difficult to support. however, It may be useful to evasion of a security risk that it uses understanding this specification. but, handling is not recommendation in the reason for being difficult. Probably, only the ASCII character should be used. I may have misunderstanding.? Regards, Hiroshi Saito (z-saito@ address was lost...) (2011/01/22 1:48), Kim Mortensen wrote: > create role "זרו"