Received: from localhost (maia-5.hub.org [200.46.204.182]) by postgresql.org (Postfix) with ESMTP id 376F29FA0EE for ; Thu, 21 Dec 2006 05:43:16 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.182]) (amavisd-new, port 10024) with ESMTP id 52086-08 for ; Thu, 21 Dec 2006 05:43:12 -0400 (AST) Received: from pgfoundry.org (pgfoundry.org [200.46.204.130]) by postgresql.org (Postfix) with ESMTP id C01E59F9FE1 for ; Thu, 21 Dec 2006 05:43:15 -0400 (AST) Received: from localhost (unknown [200.46.204.183]) by pgfoundry.org (Postfix) with ESMTP id 2D698216E7D; Thu, 21 Dec 2006 09:43:16 +0000 (UTC) Received: from pgfoundry.org ([200.46.204.130]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-new, port 10024) with ESMTP id 85809-03; Thu, 21 Dec 2006 05:43:15 -0400 (AST) Received: by pgfoundry.org (Postfix, from userid 80) id AD163216E78; Thu, 21 Dec 2006 09:43:15 +0000 (UTC) To: noreply@pgfoundry.org From: Subject: [ psqlodbc-Bugs-1000968 ] Unicode driver does not work with multibyte database name Content-type: text/plain; charset=UTF-8 Message-Id: <20061221094315.AD163216E78@pgfoundry.org> Date: Thu, 21 Dec 2006 09:43:15 +0000 (UTC) X-Virus-Scanned: Maia Mailguard 1.0.1 X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200612/82 X-Sequence-Number: 8529 Bugs item #1000968, was opened at 2006-12-21 09:43 You can respond by visiting: http://pgfoundry.org/tracker/?func=detail&atid=538&aid=1000968&group_id=1000125 Category: None Group: None Status: Open Resolution: None Priority: 3 Submitted By: Nobody (None) Assigned to: Nobody (None) Summary: Unicode driver does not work with multibyte database name Initial Comment: I can't connect multibyte-named database, with PqslODBC 8.02.02.02 and PostgreSQL 8.2. When connecting with Unicode Driver, 'celinet_encoding' option was seted to 'UTF-8'. but database name got by 'SQLGetPrivateProfileString' that's not a Unicode Function, then connInfo->database was encoded with ANSI (such as CP932). Therfore, failed to connection. I think that Unicode Driver should use Unicode version function for Installer API's, and when connecting, convert strings to UTF8 encoding. Excuse my broken english. Regards. ---------------------------------------------------------------------- You can respond by visiting: http://pgfoundry.org/tracker/?func=detail&atid=538&aid=1000968&group_id=1000125