1CHARMAP(5)                     Linux User Manual                    CHARMAP(5)
2
3
4

NAME

6       charmap - character symbols to define character encodings
7

DESCRIPTION

9       A character set description (charmap) defines a character set of avail‐
10       able characters and their  encodings.   All  supported  character  sets
11       should have the portable character set as a proper subset.
12
13   Syntax
14       The  charmap file starts with a header, that may consist of the follow‐
15       ing keywords:
16
17       <codeset>
18              is followed by the name of the codeset.
19
20       <mb_cur_max>
21              is followed by the max number of bytes for  a  multibyte-charac‐
22              ter.   Multibyte  characters  are  currently not supported.  The
23              default value is 1.
24
25       <mb_cur_min>
26              is followed by the min number of bytes for  a  character.   This
27              value  must be less or equal than mb_cur_max.  If not specified,
28              it defaults to mb_cur_max.
29
30       <escape_char>
31              is followed by a character that should be used  as  the  escape-
32              character  for  the  rest  of  the  file to mark characters that
33              should be interpreted in a special  way.   It  defaults  to  the
34              backslash ( \ ).
35
36       <comment_char>
37              is  followed  by  a  character that will be used as the comment-
38              character for the rest of the file.  It defaults to  the  number
39              sign ( # ).
40
41       The charmap-definition itself starts with the keyword CHARMAP in column
42       1.
43
44       The following lines may have one of the two following forms  to  define
45       the character-encodings:
46
47       <symbolic-name> <encoding> <comments>
48              This form defines exactly one character and its encoding.
49
50       <symbolic-name>...<symbolic-name> <encoding> <comments>
51              This  form  defines a couple of characters.  This is only useful
52              for multibyte-characters, which are currently not implemented.
53
54       The last line in a charmap-definition file must contain END CHARMAP.
55
56   Symbolic Names
57       A symbolic name for a character contains only characters of the  porta‐
58       ble character set.  The name itself is enclosed between angle brackets.
59       Characters following an <escape_char> are interpreted  as  itself;  for
60       example,  the  sequence <\\\>> represents the symbolic name \> enclosed
61       in angle brackets.
62
63   Character Encoding
64       The encoding may be in each of the following three forms:
65
66       <escape_char>d<number>
67              with a decimal number
68
69       <escape_char>x<number>
70              with a hexadecimal number
71
72       <escape_char><number>
73              with an octal number.
74

FILES

76       /usr/share/i18n/charmaps/*
77

CONFORMING TO

79       POSIX.2.
80

SEE ALSO

82       locale(1), localedef(1), localeconv(3), setlocale(3), locale(5)
83

COLOPHON

85       This page is part of release 3.25 of the Linux  man-pages  project.   A
86       description  of  the project, and information about reporting bugs, can
87       be found at http://www.kernel.org/doc/man-pages/.
88
89
90
91                                  1994-11-28                        CHARMAP(5)
Impressum