HP-UX Reference (11i v2 03/08) - 4 File Formats (vol 8)
c
charmap(4) charmap(4)
The encoding is a character constant in one of three forms:
decimal An escape character followed by the letter
d, followed by one to three decimal digits.
octal An escape character followed by one to three octal digits.
hexadecimal An escape character followed by an
x, followed by two hexadecimal digits.
Multibyte characters are represented by the concatenation of character constants. All constants used in
the encoding of a multibyte character must be of the same form.
The second form defines a range of characters consisting of all characters from the first symbolic name to
the second, inclusive:
<symbolic_name
>... <symbolic_name
> encoding
The symbolic name must consist of one or more nonnumeric characters followed by an integer formed of
one or more decimal digits. The integer part of the second symbolic name must be larger than that of the
first. The range is then interpreted as a list of symbolic names consisting of the same character portion
and successive integer values from the first through the last. These names are assigned successive encod-
ings starting with the one given.
For example, the character definition line
<C4>...<C6> \d129
is equivalent to:
<C4> \d129
<C5> \d130
<C6> \d131
EXAMPLES
For examples, see any of the files under /usr/lib/nls/loc/charmaps
directory.
SEE ALSO
localedef(1M), localedef(4).
STANDARDS COMPLIANCE
localedef POSIX.2, XPG4.
Section 4−−32 Hewlett-Packard Company − 2 − HP-UX 11i Version 2: August 2003