The following diagram shows the architecture of a typical ODBC application using a driver manager and the IBM Informix ODBC Driver.
In this scenario, if an application is making calls to Unicode enabled APIs, then it must be connected to a Unicode enabled IBM Informix ODBC Driver (Version 3.8 and later) to ensure there is no loss of data. If the application is making calls to ANSI ODBC APIs, the application can be linked to either a Unicode enabled driver or an ANSI driver.
Note that the IBM Informix ODBC Driver continues to support IBM Informix GLS. Hence all data fetched in character buffers will be fetched in the client locale codeset. Only data fetched using wide character buffers will use Unicode.
On Windows, if the ODBC driver is not Unicode enabled, the ODBC Driver Manager maps all Unicode API function calls to ANSI ODBC APIs.
If the ODBC driver is Unicode enabled, the Windows ODBC driver manager (Version 3.5 or later) maps all ANSI ODBC APIs to Unicode ODBC APIs. The Data Direct (formerly Merant) driver manager for UNIX also works this way.
For details about how the Windows ODBC driver manager handles mapping, please refer to the following URL:
http://msdn.microsoft.com/library/en-us/odbc/htm /odbcfunction_mapping_in_the_driver_manager.aspHome | [ Top of Page | Previous Page | Next Page | Contents | Index ]