1 .\" Hey emacs, this is -*- nroff -*-
3 .\" This file is part of locale(1) which displays the settings of the
5 .\" Copyright (C) 1994 Jochen Hein (Hein@Student.TU-Clausthal.de)
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.
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.
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.
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>
27 .TH CHARMAP 5 1994-11-28 "" "Linux User Manual"
30 .\"O charmap \- character symbols to define character encodings
31 charmap \- ʸ»úÉä¹æ²½¤òÄêµÁ¤¹¤ë¤¿¤á¤Îʸ»ú¥·¥ó¥Ü¥ë
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 .\" ¥Õ¥¡¥¤¥ë¤ËÄêµÁ¤µ¤ì¤Æ¤¤¤ë¡£
56 .\"O The charmap file starts with a header, that may consist of the
57 .\"O following keywords:
58 charmap ¥Õ¥¡¥¤¥ë¤Ï°Ê²¼¤Î¥¡¼¥ï¡¼¥É¤«¤é¤Ê¤ë¥Ø¥Ã¥À¡¼¤Ç»Ï¤Þ¤ë:
61 .\"O is followed by the name of the codeset.
63 ¤Ï¥³¡¼¥É¥»¥Ã¥È¤Î̾Á°¤ò»ØÄꤹ¤ë¡£
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
71 ¤ÏÊ£¿ô¥Ð¥¤¥Èʸ»ú¤Î°ìʸ»ú¤¢¤¿¤ê¤ÎºÇÂç¥Ð¥¤¥È¿ô¤ò»ØÄꤹ¤ë¡£
72 Ê£¿ô¥Ð¥¤¥Èʸ»ú¤Ï¸½ºß¤Î¤È¤³¤í¥µ¥Ý¡¼¥È¤µ¤ì¤Æ¤¤¤Ê¤¤¡£¥Ç¥Õ¥©¥ë¥È¤Ï 1 ¤Ç¤¢¤ë¡£
75 .\"O is followed by the min number of bytes for a character.
77 .\"O value must be less or equal than
79 .\"O If not specified, it defaults to
82 ¤Ï°ìʸ»ú¤¢¤¿¤ê¤ÎºÇÄã¥Ð¥¤¥È¿ô¤ò»ØÄꤹ¤ë¡£¤³¤ÎÃͤÏ
84 °Ê²¼¤Ç¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤¡£
85 ¤â¤·»ØÄꤵ¤ì¤Ê¤±¤ì¤Ð¥Ç¥Õ¥©¥ë¥È¤Ï
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.
98 ¥Õ¥¡¥¤¥ë¤Î»Ä¤ê¤ÎÉôʬ¤Ç¥¨¥¹¥±¡¼¥×¡¦¥¥ã¥é¥¯¥¿¡¼¤È¤·¤Æ»ÈÍѤ¹¤ëʸ»ú
99 ¤ò»ØÄꤹ¤ë¡£¤³¤ì¤ÇÆüì¤Ê°ÕÌ£¤Ë²ò¼á¤µ¤ì¤ëʸ»ú¤ò¥¨¥¹¥±¡¼¥×¤¹¤ë¡£
100 ¥Ç¥Õ¥©¥ë¥È¤Ï¥Ð¥Ã¥¯¥¹¥é¥Ã¥·¥å
105 ¤Ï¥Õ¥¡¥¤¥ë¤Î»Ä¤ê¤ÎÉôʬ¤Ç¥³¥á¥ó¥È¡¦¥¥ã¥é¥¯¥¿¡¼¤È¤·¤Æ»ÈÍѤ¹¤ëʸ»ú
106 ¤ò»ØÄꤹ¤ë¡£¥Ç¥Õ¥©¥ë¥È¤Ç¤Ï¥·¥ã¡¼¥×
110 .\"O The charmap-definition itself starts with the keyword
113 charmap ¤ÎÄêµÁ¤½¤Î¤â¤Î¤ÏÂè°ì¥«¥é¥à¤Ë¥¡¼¥ï¡¼¥É
117 .\"O The following lines may have one of the two following forms to
118 .\"O define the character-encodings:
119 °Ê²¼¤Î¹Ô¤Ïʸ»ú¤ÎÉä¹æ²½¤òÄêµÁ¤¹¤ë¤¿¤á¤ÎÆó¤Ä¤ÎÊýË¡¤Ç¤¢¤ë:
121 .I <symbolic-name> <encoding> <comments>
122 .\"O This form defines exactly one character and its encoding.
123 ¤³¤ì¤Ï°ì¤Ä¤Îʸ»ú¤È¤½¤ÎÉä¹æ²½¤òÄêµÁ¤¹¤ë¡£
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 ¤³¤Î·Á¼°¤ÏÊ£¿ô¤Îʸ»ú¤òÄêµÁ¤¹¤ë¡£¤³¤ì¤ÏÊ£¿ô¥Ð¥¤¥Èʸ»ú (¸½ºß¤Ï¼ÂÁõ¤µ¤ì¤Æ¤¤¤Ê¤¤)
132 .\"O The last line in a charmap-definition file must contain
134 charmap ¤ÎÄêµÁ¤ÎºÇ¸å¤Î¹Ô¤Ï
137 .\"O .SS "Symbolic Names"
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.
145 .B ¥·¥ó¥Ü¥ë̾ (symbolic name)
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
156 .\"O enclosed in angle brackets.
158 ¤Ë³¤¯Ê¸»ú¤Ï¤½¤ì¼«¿È¤È¤·¤Æ²ò¼á¤µ¤ì¤ë¡£Î㤨¤Ð
162 ¤È¤¤¤¦¥·¥ó¥Ü¥ë̾¤ò¤«¤®¤«¤Ã¤³¤Ç¶¹¤ó¤Çɽ¸½¤·¤Æ¤¤¤ë¡£
163 .\"O .SS "Character Encoding"
166 .\"O encoding may be in each of the following three forms:
167 Éä¹æ²½¤Ï°Ê²¼¤Î»°¤Ä¤Î·Á¼°¤Î¤É¤ì¤«¤Çɽ¤¹:
169 .\"O .I <escape_char>d<number>
170 .\"O with a decimal number
171 .I <escape_char>d<¿ô»ú>
172 ¤Ï 10 ¿Ê¤Î¿ôÃͤòɽ¤¹¡£
174 .\"O .I <escape_char>x<number>
175 .\"O with a hexadecimal number
176 .I <escape_char>x<¿ô»ú>
177 ¤Ï 16 ¿Ê¤Î¿ôÃͤòɽ¤¹¡£
179 .\"O .I <escape_char><number>
180 .\"O with an octal number.
181 .I <escape_char><¿ô»ú>
182 ¤Ï 8 ¿Ê¤Î¿ôÃͤòɽ¤¹¡£
184 .\" FIXME char ... char
187 .I /usr/share/i18n/charmaps/*
190 .\" Jochen Hein (jochen.hein@delphi.central.de)
191 .\"O .SH "CONFORMING TO"