1 .\" This file is part of locale(1) which displays the settings of the
3 .\" Copyright (C) 1994 Jochen Hein (Hein@Student.TU-Clausthal.de)
5 .\" %%%LICENSE_START(GPLv2+_SW_3_PARA)
6 .\" This program is free software; you can redistribute it and/or modify
7 .\" it under the terms of the GNU General Public License as published by
8 .\" the Free Software Foundation; either version 2 of the License, or
9 .\" (at your option) any later version.
11 .\" This program is distributed in the hope that it will be useful,
12 .\" but WITHOUT ANY WARRANTY; without even the implied warranty of
13 .\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 .\" GNU General Public License for more details.
16 .\" You should have received a copy of the GNU General Public
17 .\" License along with this manual; if not, see
18 .\" <http://www.gnu.org/licenses/>.
21 .TH CHARMAP 5 1994-11-28 "" "Linux User Manual"
23 charmap \- character symbols to define character encodings
25 A character set description (charmap) defines a character set of
26 available characters and their encodings.
27 All supported character
29 .B portable character set
32 .\" The portable character set is defined in the file
33 .\" .I /usr/lib/nls/charmap/POSIX
34 .\" .I /usr/share/i18n/charmap/POSIX
35 .\" for reference purposes.
37 The charmap file starts with a header, that may consist of the
41 is followed by the name of the codeset.
44 is followed by the max number of bytes for a multibyte-character.
45 Multibyte characters are currently not supported.
50 is followed by the min number of bytes for a character.
52 value must be less or equal than
54 If not specified, it defaults to
58 is followed by a character that should be used as the
59 escape-character for the rest of the file to mark characters that
60 should be interpreted in a special way.
67 is followed by a character that will be used as the
68 comment-character for the rest of the file.
74 The charmap-definition itself starts with the keyword
78 The following lines may have one of the two following forms to
79 define the character-encodings:
81 .I <symbolic-name> <encoding> <comments>
82 This form defines exactly one character and its encoding.
84 .I <symbolic-name>...<symbolic-name> <encoding> <comments>
85 This form defines a couple of characters.
86 This is only useful for
87 multibyte-characters, which are currently not implemented.
89 The last line in a charmap-definition file must contain
94 for a character contains only characters of the
95 .B portable character set.
96 The name itself is enclosed between angle brackets.
97 Characters following an
99 are interpreted as itself; for example, the sequence
101 represents the symbolic name
103 enclosed in angle brackets.
104 .SS Character encoding
106 encoding may be in each of the following three forms:
108 .I <escape_char>d<number>
109 with a decimal number
111 .I <escape_char>x<number>
112 with a hexadecimal number
114 .I <escape_char><number>
115 with an octal number.
117 .\" FIXME char ... char
119 .I /usr/share/i18n/charmaps/*
121 .\" Jochen Hein (jochen.hein@delphi.central.de)