Received: from localhost (unknown [200.46.204.183]) by postgresql.org (Postfix) with ESMTP id 6E9729F9B3B for ; Wed, 26 Sep 2007 17:14:07 -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 10172-06 for ; Wed, 26 Sep 2007 17:14:04 -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 CE18F9F99F9 for ; Wed, 26 Sep 2007 17:14:03 -0300 (ADT) Received: from brood1.pc.scharp.org (HIVEXT-A.SCHARP.ORG [140.107.164.66]) by mica.fhcrc.org (8.12.11.20060308/8.12.11/SuSE Linux 0.7) with ESMTP id l8QKDvRQ024053 for ; Wed, 26 Sep 2007 13:14:01 -0700 Received: from brood1.pc.scharp.org (brood1.pc.scharp.org [10.6.164.21]) by brood1.pc.scharp.org (8.12.10+Sun/8.11.6) with SMTP id l8QKDv1t008237 for ; Wed, 26 Sep 2007 13:13:57 -0700 (PDT) Message-Id: <200709262013.l8QKDv1t008237@brood1.pc.scharp.org> Date: Wed, 26 Sep 2007 13:13:57 -0700 (PDT) From: Mija Lee Reply-To: Mija Lee Subject: problems accessing utf8 encoded databases To: pgsql-odbc@postgresql.org MIME-Version: 1.0 Content-Type: TEXT/plain; charset=us-ascii Content-MD5: wKpP7Bi+MEBd8Ozx398ctw== 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.26.125823 X-FHCRC-SCANNED: Wed Sep 26 13:14:01 2007 X-FHCRC: WHITELISTED X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200709/17 X-Sequence-Number: 9180 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