1 .\" Copyright (C) 1994 Jochen Hein (Hein@Student.TU-Clausthal.de)
3 .\" %%%LICENSE_START(GPLv2+_SW_3_PARA)
4 .\" This program is free software; you can redistribute it and/or modify
5 .\" it under the terms of the GNU General Public License as published by
6 .\" the Free Software Foundation; either version 2 of the License, or
7 .\" (at your option) any later version.
9 .\" This program is distributed in the hope that it will be useful,
10 .\" but WITHOUT ANY WARRANTY; without even the implied warranty of
11 .\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 .\" GNU General Public License for more details.
14 .\" You should have received a copy of the GNU General Public
15 .\" License along with this manual; if not, see
16 .\" <http://www.gnu.org/licenses/>.
19 .TH CHARMAP 5 2020-06-09 "GNU" "Linux Programmer's Manual"
21 charmap \- character set description file
23 A character set description (charmap) defines all available characters
24 and their encodings in a character set.
26 can use charmaps to create locale variants for different character sets.
28 The charmap file starts with a header that may consist of the
32 is followed by the name of the character map.
35 is followed by a character that will be used as the comment character
36 for the rest of the file.
37 It defaults to the number sign (#).
40 is followed by a character that should be used as the escape character
41 for the rest of the file to mark characters that should be interpreted
43 It defaults to the backslash (\e).
46 is followed by the maximum number of bytes for a character.
47 The default value is 1.
50 is followed by the minimum number of bytes for a character.
51 This value must be less than or equal than
53 If not specified, it defaults to
56 The character set definition section starts with the keyword
60 The following lines may have one of the two following forms to
61 define the character set:
63 .RI < character >\ byte-sequence\ comment
64 This form defines exactly one character and its byte sequence,
68 .RI < character >..< character >\ byte-sequence\ comment
69 This form defines a character range and its byte sequence,
73 The character set definition section ends with the string
76 The character set definition section may optionally be followed by a
77 section to define widths of characters.
81 keyword can be used to define the default width for all characters
82 not explicitly listed.
83 The default character width is 1.
85 The width section for individual characters starts with the keyword
89 The following lines may have one of the two following forms to
90 define the widths of the characters:
92 .RI < character >\ width
93 This form defines the width of exactly one character.
95 .RI < character >...< character >\ width
96 This form defines the width for all the characters in the range.
98 The width definition section ends with the string
102 .I /usr/share/i18n/charmaps
103 Usual default character map path.
107 The Euro sign is defined as follows in the
112 <U20AC> /xe2/x82/xac EURO SIGN