informix
Informix Guide to GLS Functionality
Database Server Features

GLS Support by Informix Database Servers

The database server can perform read and write operations to the following operating-system files:

These operating-system files reside on the server computer, where the database server resides. When the database server reads from or writes to these files, it must use a code set that the server computer supports. The database server obtains this code set from the server locale.

Set the server locale with the SERVER_LOCALE environment variable. If you do not set SERVER_LOCALE, the database server uses the default locale, U.S. English, as the server locale. For more information, see SERVER_LOCALE.

For Enterprise Decision Server, all coservers must have identical GLS operating-system environments.

To perform code-set conversion and handle non-ASCII characters that are associated with read and write operations on operating-system files, the database server determines the server code set (the code set that the server locale supports). For information about the use of non-ASCII characters, see Non-ASCII Characters in Identifiers.

Database Server Code-Set Conversion

This section summarizes the code-set conversion that the database server performs. For more general information about code-set conversion, see Performing Code-Set Conversion.

An Informix database server automatically performs code-set conversion between the code sets of the server-processing locale and the server locale when the following conditions are true:

For a list of files for which Informix database servers perform code-set conversion, see GLS Support by Informix Database Servers. For information on GLS code-set conversion files, see Code-Set-Conversion Files.

Once the database server creates the operating-system file, it has generated a filename and written file contents in the code set of the server locale (the server code set). Any Informix product or client application that needs to access this file must have a server-processing locale that supports this same server code set. You must ensure that the appropriate locale environment variables are set so that the server-processing locale supports a code set with these non-ASCII characters. For more information about the server-processing locale, see Determining the Server-Processing Locale.

The database server checks the validity of a filename with respect to the server-processing locale before it references a filename.

Enterprise Decision Server rejects any filename that is not ASCII alphanumeric 7-bit.

Data That the Database Server Converts

When the database server transfers data to and from its operating-system files, it handles any differences in the code sets of the server-processing locale and the server locale as follows:


Informix Guide to GLS Functionality, Version 9.2
Copyright © 1999, Informix Software, Inc. All rights reserved