[ psqlodbc-Bugs-1000968 ] Unicode driver does not work with multibyte database name

From: <noreply(at)pgfoundry(dot)org>
To: noreply(at)pgfoundry(dot)org
Subject: [ psqlodbc-Bugs-1000968 ] Unicode driver does not work with multibyte database name
Date: 2006-12-21 09:43:15
Message-ID: 20061221094315.AD163216E78@pgfoundry.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-odbc

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

Browse pgsql-odbc by date

  From Date Subject
Next Message Chris Hoover 2006-12-21 15:57:15 How to pass information back to client
Previous Message lothar.behrens@lollisoft.de 2006-12-19 07:38:43 Re: Still SQLSetPos problem even with minimal sample, SQL_NULL_DATA