Thread: [ psqlodbc-Bugs-1000968 ] Unicode driver does not work with multibyte database name
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