Code page translation for ODBC-based products

ODBC drivers incorporate code page translation within their normal data processing. The ECDA Option for ODBC uses this functionality to simplify code page translation.

For ODBC-based products, code page translation can take place in two locations:

Code page translation between the DirectConnect server and the target database

The ODBC driver uses the server-platform-configured code page value as its client code page. Depending on the platform, the server-platform-configured code page value can be found:

Upon connection to the target, the ODBC driver queries the target database for its code page and compares the value to the server-platform-configured code page:

Code page translation between the client and the DirectConnect server

For proper code page translation, the ECDA code page identified by Open Server must match the server-platform-configured code page value. The default platform in the locales.dat configuration file identifies the Open Server code page.

The DirectConnect server configuration property called OSCodeSetConvert determines whether the ECDA Option for ODBC allows Open Server to perform code page translation between the client and the DirectConnect server. Values for the OSCodeSetConvert property are: