z/OS UNIX System Services User's Guide
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


Locale objects, source files, and charmaps

z/OS UNIX System Services User's Guide
SA23-2279-00

The z/OS® shells and utilities support the locales listed in the appendix in z/OS XL C/C++ Programming Guide.

A locale name is the same as a locale object name. The suffix of the locale name, for example, IBM-277, indicates the code page that the locale is based on.

The symbolic link is a shortened name for the complete locale object name; You can use the symbolic link name when specifying a locale for an environment variable or with the setlocale() function. For example, you can specify
LANG=En_US
instead of
LANG=En_US.IBM-1047

The compiled locale object files are in the directory /usr/lib/nls/locale. The locale source definition files are in /usr/lib/nls/localedef. The source file name combined with the code page name results in the name of the locale object.

The charmap files are in /usr/lib/nls/charmap. The charmap file names are identical to code page names— for example, IBM-1047.

Go to the previous page




Copyright IBM Corporation 1990, 2014