Received: from localhost (unknown [200.46.204.182]) by postgresql.org (Postfix) with ESMTP id A656D9F9C15 for ; Wed, 26 Sep 2007 22:08:30 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.182]) (amavisd-maia, port 10024) with ESMTP id 16429-06 for ; Wed, 26 Sep 2007 22:08:21 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.5 Received: from smtp.guitar.ocn.ne.jp (guitar.ocn.ne.jp [61.207.12.174]) by postgresql.org (Postfix) with ESMTP id 409D39F9AA8 for ; Wed, 26 Sep 2007 22:08:26 -0300 (ADT) Received: from HP22720319231 (221x112x108x194.ap221.ftth.ucom.ne.jp [221.112.108.194]) by smtp.guitar.ocn.ne.jp (Postfix) with SMTP id 4DBD33402; Thu, 27 Sep 2007 10:08:24 +0900 (JST) Message-ID: <010b01c800a2$f23460c0$c601a8c0@HP22720319231> From: "Hiroshi Saito" To: "Mija Lee" , References: <200709262013.l8QKDv1t008237@brood1.pc.scharp.org> Subject: Re: problems accessing utf8 encoded databases Date: Thu, 27 Sep 2007 10:08:33 +0900 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.3028 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3028 X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200709/18 X-Sequence-Number: 9181 Hi. ----- Original Message ----- From: "Mija Lee" > Hi: > > I'm new to this list and to postgres, so hopefully this won't sound like a > stupid question. We are trying to connect from sas 9.13 service pack 3 to a > postgres database version 8.2.4. We are able to do so without any problems when > the databases are sql-ascii encoded, but get > > ERROR: CLI error trying to establish connection: [unixODBC]client encoding > mismatch > > I'm able to connect to the same server, different databases that are not UTF-8 > encoded. I have UNICODE=UTF8 as a line in the odbc.ini. We are calling the sas9 > program with a utf-8 encoding option. T > > We are using 8.00.0100, but from what I've read it looks like utf-8 support > started in version 7.1. I didn't install the driver myself, but is there > something special I need to do to get utf-8 working with the odbc driver? > > Mija Um, Although the version of the driver with which you use me may have a problem, it thinks that support is difficult....Would you use our new driver, supposing it is possible? It does not reproduce your problem. http://winpg.jp/~saito/psqlODBC/psqlODBC_use_ASCII.png We were preparing the now newest release. It is Version 08.02.0500. please see, http://www.postgresql.org/ftp/odbc/versions/ Sorry, the newest official announcement was preparing us... Regards, Hiroshi Saito