OSDN Git Service

(split) Move Japanese translation histories after original history sections.
[linuxjm/LDP_man-pages.git] / draft / man5 / charmap.5
1 .\" Hey emacs, this is -*- nroff -*-
2 .\"
3 .\" This file is part of locale(1) which displays the settings of the
4 .\" current locale.
5 .\" Copyright (C) 1994  Jochen Hein (Hein@Student.TU-Clausthal.de)
6 .\"
7 .\" This program is free software; you can redistribute it and/or modify
8 .\" it under the terms of the GNU General Public License as published by
9 .\" the Free Software Foundation; either version 2 of the License, or
10 .\" (at your option) any later version.
11 .\"
12 .\" This program is distributed in the hope that it will be useful,
13 .\" but WITHOUT ANY WARRANTY; without even the implied warranty of
14 .\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15 .\" GNU General Public License for more details.
16 .\"
17 .\" You should have received a copy of the GNU General Public License
18 .\" along with this program; if not, write to the Free Software
19 .\" Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111, USA.
20 .\"
21 .\" Japanese Version Copyright (c) 1997 HANATAKA Shinya
22 .\"         all rights reserved.
23 .\" Translated Thu Feb  5 21:12:56 JST 1998
24 .\"         by HANATAKA Shinya <hanataka@abyss.rim.or.jp>
25 .\" Updated Wed Jan  9 JST 2001 by Kentaro Shirakata <argrath@ub32.org>
26 .\"
27 .TH CHARMAP 5 1994-11-28 "" "Linux User Manual"
28 .\"O .SH NAME
29 .SH Ì¾Á°
30 .\"O charmap \- character symbols to define character encodings
31 charmap \- Ê¸»úÉä¹æ²½¤òÄêµÁ¤¹¤ë¤¿¤á¤Îʸ»ú¥·¥ó¥Ü¥ë
32 .\"O .SH DESCRIPTION
33 .SH ½ñ¼°
34 .\"O A character set description (charmap) defines a character set of
35 .\"O available characters and their encodings.
36 .\"O All supported character
37 .\"O sets should have the
38 .\"O .B portable character set
39 .\"O as a proper subset.
40 .\"O .\" Not true anymore:
41 .\"O .\" The portable character set is defined in the file
42 .\"O .\" .I /usr/lib/nls/charmap/POSIX
43 .\"O .\" .I /usr/share/i18n/charmap/POSIX
44 .\"O .\" for reference purposes.
45 ʸ»ú½¸¹çµ­½Ò (charmap) ¤Ï»ÈÍѤǤ­¤ëʸ»ú½¸¹ç¤È¤½¤ÎÉä¹æ²½¤òÄêµÁ¤¹¤ë¡£
46 ¥µ¥Ý¡¼¥È¤µ¤ì¤ëÁ´¤Æ¤Îʸ»ú½¸¹ç¤ÏÂÅÅö¤Ê¥µ¥Ö¥»¥Ã¥È¤È¤·¤Æ
47 .B "¶¦ÄÌʸ»ú½¸¹ç (portable character set)"
48 ¤ò»ý¤¿¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤¡£
49 .\" °Ê²¼¤Ï¤â¤Ï¤äÀµ¤·¤¯¤Ê¤¤:
50 .\" ¶¦ÄÌʸ»ú½¸¹ç¤Ï»²¾ÈÍѤË
51 .\" .I /usr/lib/nls/charmap/POSIX
52 .\" .I /usr/share/i18n/charmap/POSIX
53 .\" ¥Õ¥¡¥¤¥ë¤ËÄêµÁ¤µ¤ì¤Æ¤¤¤ë¡£
54 .\"O .SS Syntax
55 .SS ʸˡ
56 .\"O The charmap file starts with a header, that may consist of the
57 .\"O following keywords:
58 charmap ¥Õ¥¡¥¤¥ë¤Ï°Ê²¼¤Î¥­¡¼¥ï¡¼¥É¤«¤é¤Ê¤ë¥Ø¥Ã¥À¡¼¤Ç»Ï¤Þ¤ë:
59 .TP
60 .\"O .I <codeset>
61 .\"O is followed by the name of the codeset.
62 .I <codeset>
63 ¤Ï¥³¡¼¥É¥»¥Ã¥È¤Î̾Á°¤ò»ØÄꤹ¤ë¡£
64 .TP
65 .\"O .I <mb_cur_max>
66 .\"O is followed by the max number of bytes for a multibyte-character.
67 .\"O Multibyte characters are currently not supported.
68 .\"O The default value
69 .\"O is 1.
70 .I <mb_cur_max>
71 ¤ÏÊ£¿ô¥Ð¥¤¥Èʸ»ú¤Î°ìʸ»ú¤¢¤¿¤ê¤ÎºÇÂç¥Ð¥¤¥È¿ô¤ò»ØÄꤹ¤ë¡£
72 Ê£¿ô¥Ð¥¤¥Èʸ»ú¤Ï¸½ºß¤Î¤È¤³¤í¥µ¥Ý¡¼¥È¤µ¤ì¤Æ¤¤¤Ê¤¤¡£¥Ç¥Õ¥©¥ë¥È¤Ï 1 ¤Ç¤¢¤ë¡£
73 .TP
74 .\"O .I <mb_cur_min>
75 .\"O is followed by the min number of bytes for a character.
76 .\"O This
77 .\"O value must be less or equal than
78 .\"O .BR mb_cur_max .
79 .\"O If not specified, it defaults to
80 .\"O .BR mb_cur_max .
81 .I <mb_cur_min>
82 ¤Ï°ìʸ»ú¤¢¤¿¤ê¤ÎºÇÄã¥Ð¥¤¥È¿ô¤ò»ØÄꤹ¤ë¡£¤³¤ÎÃͤÏ
83 .B mb_cur_max
84 °Ê²¼¤Ç¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤¡£
85 ¤â¤·»ØÄꤵ¤ì¤Ê¤±¤ì¤Ð¥Ç¥Õ¥©¥ë¥È¤Ï
86 .B mb_cur_max
87 ¤ÈƱ¤¸¤Ç¤¢¤ë¡£
88 .TP
89 .\"O .I <escape_char>
90 .\"O is followed by a character that should be used as the
91 .\"O escape-character for the rest of the file to mark characters that
92 .\"O should be interpreted in a special way.
93 .\"O It defaults to
94 .\"O the backslash (
95 .\"O .B \\\\
96 .\"O ).
97 .I <escape_char>
98 ¥Õ¥¡¥¤¥ë¤Î»Ä¤ê¤ÎÉôʬ¤Ç¥¨¥¹¥±¡¼¥×¡¦¥­¥ã¥é¥¯¥¿¡¼¤È¤·¤Æ»ÈÍѤ¹¤ëʸ»ú
99 ¤ò»ØÄꤹ¤ë¡£¤³¤ì¤ÇÆüì¤Ê°ÕÌ£¤Ë²ò¼á¤µ¤ì¤ëʸ»ú¤ò¥¨¥¹¥±¡¼¥×¤¹¤ë¡£
100 ¥Ç¥Õ¥©¥ë¥È¤Ï¥Ð¥Ã¥¯¥¹¥é¥Ã¥·¥å
101 .RB ( \e )
102 ¤Ç¤¢¤ë¡£
103 .TP
104 .I <comment_char>
105 ¤Ï¥Õ¥¡¥¤¥ë¤Î»Ä¤ê¤ÎÉôʬ¤Ç¥³¥á¥ó¥È¡¦¥­¥ã¥é¥¯¥¿¡¼¤È¤·¤Æ»ÈÍѤ¹¤ëʸ»ú
106 ¤ò»ØÄꤹ¤ë¡£¥Ç¥Õ¥©¥ë¥È¤Ç¤Ï¥·¥ã¡¼¥×
107 .RB ( # )
108 ¤Ç¤¢¤ë¡£
109 .PP
110 .\"O The charmap-definition itself starts with the keyword
111 .\"O .B CHARMAP
112 .\"O in column 1.
113 charmap ¤ÎÄêµÁ¤½¤Î¤â¤Î¤ÏÂè°ì¥«¥é¥à¤Ë¥­¡¼¥ï¡¼¥É
114 .B CHARMAP
115 ¤òÃÖ¤¯¤³¤È¤Ç»Ï¤á¤ë¡£
116
117 .\"O The following lines may have one of the two following forms to
118 .\"O define the character-encodings:
119 °Ê²¼¤Î¹Ô¤Ïʸ»ú¤ÎÉä¹æ²½¤òÄêµÁ¤¹¤ë¤¿¤á¤ÎÆó¤Ä¤ÎÊýË¡¤Ç¤¢¤ë:
120 .TP
121 .I <symbolic-name> <encoding> <comments>
122 .\"O This form defines exactly one character and its encoding.
123 ¤³¤ì¤Ï°ì¤Ä¤Îʸ»ú¤È¤½¤ÎÉä¹æ²½¤òÄêµÁ¤¹¤ë¡£
124 .TP
125 .I <symbolic-name>...<symbolic-name> <encoding> <comments>
126 .\"O This form defines a couple of characters.
127 .\"O This is only useful for
128 .\"O multibyte-characters, which are currently not implemented.
129 ¤³¤Î·Á¼°¤ÏÊ£¿ô¤Îʸ»ú¤òÄêµÁ¤¹¤ë¡£¤³¤ì¤ÏÊ£¿ô¥Ð¥¤¥Èʸ»ú (¸½ºß¤Ï¼ÂÁõ¤µ¤ì¤Æ¤¤¤Ê¤¤)
130 ¤Î¤ß¤ÇÍ­ÍѤǤ¢¤ë¡£
131 .PP
132 .\"O The last line in a charmap-definition file must contain
133 .\"O .B END CHARMAP.
134 charmap ¤ÎÄêµÁ¤ÎºÇ¸å¤Î¹Ô¤Ï
135 .B END CHARMAP
136 ¤òÃÖ¤¯¡£
137 .\"O .SS "Symbolic Names"
138 .SS ¥·¥ó¥Ü¥ë̾
139 .\"O A
140 .\"O .B symbolic name
141 .\"O for a character contains only characters of the
142 .\"O .B portable character set.
143 .\"O The name itself is enclosed between angle brackets.
144 ʸ»ú¤Î
145 .B ¥·¥ó¥Ü¥ë̾ (symbolic name)
146 ¤Ï
147 .B ¶¦ÄÌʸ»ú½¸¹ç(portable character set)
148 ¤Îʸ»ú¤Î¤ß¤ò´Þ¤ó¤Ç¤¤¤ë¡£
149 ¤³¤Î̾Á°¤Ï¤«¤®¤«¤Ã¤³ < > ¤Ç¶´¤à¡£
150 .\"O Characters following an
151 .\"O .B <escape_char>
152 .\"O are interpreted as itself; for example, the sequence
153 .\"O .B "<\\\\\\\\\\\\>>"
154 .\"O represents the symbolic name
155 .\"O .B "\\\\>"
156 .\"O enclosed in angle brackets.
157 .B <escape_char>
158 ¤Ë³¤¯Ê¸»ú¤Ï¤½¤ì¼«¿È¤È¤·¤Æ²ò¼á¤µ¤ì¤ë¡£Î㤨¤Ð
159 .B "<\e\e\e>>"
160 ¤Î¤è¤¦¤Êʸ»úÎó¤Ï
161 .B "\e>"
162 ¤È¤¤¤¦¥·¥ó¥Ü¥ë̾¤ò¤«¤®¤«¤Ã¤³¤Ç¶¹¤ó¤Çɽ¸½¤·¤Æ¤¤¤ë¡£
163 .\"O .SS "Character Encoding"
164 .SS Ê¸»úÉä¹æ²½
165 .\"O The
166 .\"O encoding may be in each of the following three forms:
167 Éä¹æ²½¤Ï°Ê²¼¤Î»°¤Ä¤Î·Á¼°¤Î¤É¤ì¤«¤Çɽ¤¹:
168 .TP
169 .\"O .I <escape_char>d<number>
170 .\"O with a decimal number
171 .I <escape_char>d<¿ô»ú>
172 ¤Ï 10 ¿Ê¤Î¿ôÃͤòɽ¤¹¡£
173 .TP
174 .\"O .I <escape_char>x<number>
175 .\"O with a hexadecimal number
176 .I <escape_char>x<¿ô»ú>
177 ¤Ï 16 ¿Ê¤Î¿ôÃͤòɽ¤¹¡£
178 .TP
179 .\"O .I <escape_char><number>
180 .\"O with an octal number.
181 .I <escape_char><¿ô»ú>
182 ¤Ï 8 ¿Ê¤Î¿ôÃͤòɽ¤¹¡£
183 .\" FIXME comments
184 .\" FIXME char ... char
185 .\"O .SH FILES
186 .SH ¥Õ¥¡¥¤¥ë
187 .I /usr/share/i18n/charmaps/*
188 .\"O .\" .SH AUTHOR
189 .\" .SH Ãø¼Ô
190 .\" Jochen Hein (jochen.hein@delphi.central.de)
191 .\"O .SH "CONFORMING TO"
192 .SH ½àµò
193 POSIX.2.
194 .\"O .SH "SEE ALSO"
195 .SH ´ØÏ¢¹àÌÜ
196 .BR locale (1),
197 .BR localedef (1),
198 .BR localeconv (3),
199 .BR setlocale (3),
200 .BR locale (5)