Code-set files
A code-set file (also called a character-mapping or charmap file) defines a code set for subsequent use by locale and code-set-conversion files.
A GLS locale includes the appropriate code-set file for the code set that it supports. In addition, HCL OneDB™ products can perform code-set conversion between the code sets that have code-set files.
Platform | Code-set file |
---|---|
UNIX™ | $ONEDB_HOME/gls/cmZ/code.cmo |
Windows™ | %ONEDB_HOME%\gls\cmZ\code.cmo |
In these paths, ONEDB_HOME is the environment variable that specifies the directory in which you install the HCL OneDB product, gls is the subdirectory that contains the GLS files, and Z represents the version number for the code-set object-file format.
- The code-set source file is an ASCII file that describes
the characters of a character set.
This file has a .cm extension and serves as documentation for the corresponding object file.
- The code-set object file is a compiled form of the
code-set information.
The object file is used to create locale object files. Object code-set files have a .cmo file extension.