Locale file names
To conform to the 8.3 filename.ext restriction on the maximum number of characters in valid file names and file extensions on DOS systems, a GLS locale file uses a condensed form of the code-set name, codemodf, in its file names.
The four-character code name of each locale file is the hexadecimal representation of the code-set number for the code set that the locale supports. The four-character modf name is the optional locale modifier.
For example, the ISO8859-1 code set has the HCL CCSID number of 819 in decimal and 0333 in hexadecimal. Therefore, the four-character name of a locale source file that supports the ISO8859-1 code set is 0333.lc.
Code set | Locale modifier | Locale source file |
---|---|---|
ISO8859-1 (HCL CCSID 819) | None Dictionary |
0333.lc 0333dict.lc |
Windows™ Code Page 1252 (West Europe) | None Dictionary |
04e4.lc 04e4dict.lc |
HCL CCSID 850 | None Dictionary |
0352.lc 0352dict.lc |
A French locale that supports the ISO8859-1 code set has a GLS locale that is called 0333.lc file in the fr_fr locale-file subdirectory. The default locale, U.S. English, also uses the ISO8859-1 code set (on UNIX™ platforms); a locale file that is called 0333.lc is also in the en_us locale-file subdirectory. Because both the French and U.S. English locales support the Windows Code Page 1252, both the fr_fr and en_us locale-file subdirectories contain a 04e4.lc locale file.