CLIENT_LOCALE environment variable

The CLIENT_LOCALE environment variable specifies the client locale, which the client application uses in read and write operations, display formats, and processing ESQL statements.

See also The client locale.

1  CLIENT_LOCALE Language _ territory . code_set? @modifier
Element
Description
code_set
Name of the code set that the locale supports.
language
Two-character name that represents the language for a specific locale.
modifier
Optional locale modifier that has a maximum of four alphanumeric characters.
territory
Two-character name that represents the cultural conventions. For example, territory might specify the Swiss version of the French, German, or Italian language.

The modifier specification modifies the cultural-convention settings that the language and territory settings imply. The modifier usually indicates a special localized collating order that the locale supports.

An example nondefault client locale for a French-Canadian locale follows:
CLIENT_LOCALE fr_ca.8859-1
An example nondefault client locale follows:
CLIENT_LOCALE zh_cn.gb18030-2000

You can use the glfiles utility to generate a list of the GLS locales that are available on your UNIX™ system. For more information, see The glfiles utility (UNIX).

If you do not set CLIENT_LOCALE, the client application uses the default locale, U.S. English, as the client locale.

Changes to CLIENT_LOCALE also enter in the Windows™ registry database under HKEY_LOCAL_MACHINE.