Received: from localhost (unknown [200.46.204.183]) by postgresql.org (Postfix) with ESMTP id 32C8E9F9955 for ; Thu, 27 Sep 2007 12:37:20 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 73568-02 for ; Thu, 27 Sep 2007 12:37:14 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.5 Received: from mica.fhcrc.org (MICA.FHCRC.ORG [140.107.152.12]) by postgresql.org (Postfix) with ESMTP id A57329F9947 for ; Thu, 27 Sep 2007 12:37:14 -0300 (ADT) Received: from localhost.localdomain (MULLITE.FHCRC.ORG [140.107.152.14]) by mica.fhcrc.org (8.12.11.20060308/8.12.11/SuSE Linux 0.7) with ESMTP id l8RFa1Rc010228; Thu, 27 Sep 2007 08:37:09 -0700 Received: from jarlite.fhcrc.org by mullite with queue (Sophos PureMessage Version 5.303) id 18646981-3; Thu, 27 Sep 2007 15:33:34 GMT Received: from HIVEXT-A.SCHARP.ORG [140.107.164.66] by jarlite.fhcrc.org with SMTP id l8RFXYFU026462; Thu, 27 Sep 2007 15:33:34 GMT (envelope-from mija@scharp.org) Received: from brood2.pc.scharp.org (brood2.pc.scharp.org [10.6.164.22]) by brood2.pc.scharp.org (8.12.10+Sun/8.11.6) with SMTP id l8RFXXka027768; Thu, 27 Sep 2007 08:33:33 -0700 (PDT) Message-Id: <200709271533.l8RFXXka027768@brood2.pc.scharp.org> Date: Thu, 27 Sep 2007 08:33:33 -0700 (PDT) From: Mija Lee Reply-To: Mija Lee Subject: Re: problems accessing utf8 encoded databases To: mija@scharp.org, pgsql-odbc@postgresql.org, z-saito@guitar.ocn.ne.jp MIME-Version: 1.0 Content-Type: TEXT/plain; charset=us-ascii Content-MD5: eEHIj0s1G6ECexQJtW6pdA== X-Mailer: dtmail 1.3.0 @(#)CDE Version 1.5.5 SunOS 5.9 sun4u sparc X-PMX-Version: 5.3.3.310218, Antispam-Engine: 2.5.2.313940, Antispam-Data: 2007.9.27.80756 X-PMX-Version: 5.3.3.310218, Antispam-Engine: 2.5.2.313940, Antispam-Data: 2007.9.27.80756 X-FHCRC-SCANNED: Thu Sep 27 08:33:35 2007 X-FHCRC: WHITELISTED X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0.024 tagged_above=0 required=5 tests=AWL=0.023, BAYES_50=0.001 X-Spam-Level: X-Archive-Number: 200709/21 X-Sequence-Number: 9184 Thanks for the responses. I have downloaded the new driver & will ask IT to install. >X-Spam-Level: >X-Spam-Status: No, score=-3.0 required=5.0 tests=WL_SAS autolearn=ham version=3.1.3 >From: "Hiroshi Saito" >To: "Mija Lee" , >Subject: Re: [ODBC] problems accessing utf8 encoded databases >Date: Thu, 27 Sep 2007 10:08:33 +0900 > >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