Locales in the client/server environment

In a client/server environment, the client application, database server, and one or more databases might be on different computers.

The following figure shows an example of database server connections between the client application and the acctng database through the HCL Informix® database server.
Figure 1. Example of a client/server environment
These computers might have different operating systems or different language support. To ensure that these three parts of the database application communicate locale information successfully, HCL Informix® products support the following locales:
  • The client locale identifies the locale that the client application uses.
  • The database locale identifies the locale of the data in a database.
  • The server locale identifies the locale that the database server uses for its server-specific files.
The following figure shows the client locale, database locale, and server locale that the example application (from the previous figure) establishes.
Figure 2. The client locale, database locale, and server locale

When you set the same or compatible GLS locales for each of these locales, your client application is not dependent on how the operating system of each computer implements language-specific features.

Sections that follow describe each of these locales in more detail.