1 .\" Copyright (C) 1994 Jochen Hein (Hein@Student.TU-Clausthal.de)
3 .\" SPDX-License-Identifier: GPL-2.0-or-later
5 .TH charmap 5 (date) "Linux man-pages (unreleased)"
7 charmap \- character set description file
9 A character set description (charmap) defines all available characters
10 and their encodings in a character set.
12 can use charmaps to create locale variants for different character sets.
14 The charmap file starts with a header that may consist of the
18 is followed by the name of the character map.
21 is followed by a character that will be used as the comment character
22 for the rest of the file.
23 It defaults to the number sign (#).
26 is followed by a character that should be used as the escape character
27 for the rest of the file to mark characters that should be interpreted
29 It defaults to the backslash (\e).
32 is followed by the maximum number of bytes for a character.
33 The default value is 1.
36 is followed by the minimum number of bytes for a character.
37 This value must be less than or equal than
39 If not specified, it defaults to
42 The character set definition section starts with the keyword
46 The following lines may have one of the two following forms to
47 define the character set:
49 .RI < character >\ byte-sequence\ comment
50 This form defines exactly one character and its byte sequence,
54 .RI < character >..< character >\ byte-sequence\ comment
55 This form defines a character range and its byte sequence,
59 The character set definition section ends with the string
62 The character set definition section may optionally be followed by a
63 section to define widths of characters.
67 keyword can be used to define the default width for all characters
68 not explicitly listed.
69 The default character width is 1.
71 The width section for individual characters starts with the keyword
75 The following lines may have one of the two following forms to
76 define the widths of the characters:
78 .RI < character >\ width
79 This form defines the width of exactly one character.
81 .RI < character >...< character >\ width
82 This form defines the width for all the characters in the range.
84 The width definition section ends with the string
88 .I /usr/share/i18n/charmaps
89 Usual default character map path.
93 The Euro sign is defined as follows in the
98 <U20AC> /xe2/x82/xac EURO SIGN