Writing internationalized DB-Library applications

When writing a new client application, programmers should use Client-Library instead of DB-Library. The information in this section is for sites with existing DB-Library applications.

Unlike Client-Library, DB-Library does not examine environment variables to determine initial localization values. Instead, in DB-Library, initial localization values are pre-defined on a per-platform basis.

An application can change these initial values for a specific connection by changing the language name and character set name in the login record that is used to open the connection:

An application can use a different language and character set for each server connection.

For more information about DB-Library routines that support localization, see the Open Client DB-Library/C Reference Manual.