The following examples illustrate these conversion streams for the DataDirect Connect
for ODBC drivers. The Driver Manager on UNIX and Linux prior to DataDirect Connect
for ODBC Release 5.0 assumes that Unicode applications and Unicode drivers use the same encoding (UTF-8). For the DataDirect Connect Series
for ODBC Release 5.0 and higher on UNIX and Linux, the Driver Manager determines the type of Unicode encoding of both the application and the driver, and performs conversions when the application and driver use different types of encoding. This determination is made by checking two ODBC environment attributes: SQL_ATTR_APP_UNICODE_TYPE and SQL_ATTR_DRIVER_UNICODE_TYPE.
Driver Manager and Unicode Encoding on UNIX/Linux describes in detail how this is done.