Penguin
Annotated edit history of charmap(5) version 1, including all changes. View license author blame.
Rev Author # Line
1 perry 1 charmap
2 !!!charmap
3 NAME
4 DESCRIPTION
5 SYNTAX
6 SYMBOLIC NAMES
7 CHARACTER ENCODING
8 FILES
9 AUTHOR
10 CONFORMING TO
11 SEE ALSO
12 ----
13 !!NAME
14
15
16 charmap - character symbols to define character encodings
17 !!DESCRIPTION
18
19
20 A character set description (charmap) defines a characterset
21 of available characters and their encodings. All supported
22 character sets should have the __portable character set__
23 as a proper subset.
24 !!SYNTAX
25
26
27 The charmap file starts with a header, that may consist of
28 the following keywords:
29
30
31 ''''
32
33
34 is followed by the name of the codeset.
35
36
37 ''''
38
39
40 is followed by the max number of bytes for a
41 multibyte-character. Multibyte characters are currently not
42 supported. The default value is 1.
43
44
45 ''''
46
47
48 is followed by the min number of bytes for a character. This
49 value must be less or equal than __mb_cur_max.__ If not
50 specified, it defaults to __mb_cur_max.__
51
52
53 ''''
54
55
56 is followed by a character that should be used as the
57 escape-character for the rest of the file to mark characters
58 that should be interpreted in a special way. It defaults to
59 the backslash ( __\__ ).
60
61
62 ''''
63
64
65 is followed by a character that will be used as the
66 comment-character for the rest of the file. It defaults to
67 the number sign ( __#__ ).
68
69
70 The charmap-definition itself starts with the keyword
71 __CHARMAP__ in column 1.
72
73
74 The following lines may have one of the two following forms
75 to define the character-encodings:
76
77
78 ''
79 ''
80
81
82 This for defines exactly one character and its
83 encoding.
84
85
86 ''
87 ''
88
89
90 This form defines a couple of characters. This is only
91 useful for mutlibyte-characters, which are currently not
92 implemented.
93
94
95 The last line in a charmap-definition file must contain
96 __END CHARMAP.__
97 !!SYMBOLIC NAMES
98
99
100 A __symbolic name__ for a character contains only
101 characters of the __portable character set.__ The name
102 itself is enclosed between angle brackets. Characters
103 following the ____ are interpreted as
104 itself; for example, the sequence __'__
105 represents the symbolic name __'__ enclosed in angle
106 brackets.
107 !!CHARACTER ENCODING
108
109
110 The encoding may be in each of the following three
111 forms:
112
113
114 ''''
115
116
117 with a decimal number
118
119
120 ''''
121
122
123 with a hexadecimal number
124
125
126 ''''
127
128
129 with an octal number.
130 !!FILES
131
132
133 ''/usr/share/i18n/charmaps/*''
134 !!AUTHOR
135
136
137 Jochen Hein (jochen.hein@delphi.central.de)
138 !!CONFORMING TO
139
140
141 POSIX.2
142 !!SEE ALSO
143
144
145 locale(1), localedef(1), setlocale(3),
146 localeconv(3), locale(5)
147 ----
This page is a man page (or other imported legacy content). We are unable to automatically determine the license status of this page.