.\" This file is part of locale(1) which displays the settings of the .\" current locale. .\" Copyright (C) 1994 Jochen Hein (Hein@Student.TU-Clausthal.de) .\" .\" %%%LICENSE_START(GPLv2+_SW_3_PARA) .\" This program is free software; you can redistribute it and/or modify .\" it under the terms of the GNU General Public License as published by .\" the Free Software Foundation; either version 2 of the License, or .\" (at your option) any later version. .\" .\" This program is distributed in the hope that it will be useful, .\" but WITHOUT ANY WARRANTY; without even the implied warranty of .\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the .\" GNU General Public License for more details. .\" .\" You should have received a copy of the GNU General Public .\" License along with this manual; if not, see .\" . .\" %%%LICENSE_END .\" .\"******************************************************************* .\" .\" This file was generated with po4a. Translate the source file. .\" .\"******************************************************************* .\" .\" Japanese Version Copyright (c) 1997 HANATAKA Shinya .\" all rights reserved. .\" Translated Thu Feb 5 21:12:56 JST 1998 .\" by HANATAKA Shinya .\" Updated Wed Jan 9 JST 2001 by Kentaro Shirakata .\" .TH CHARMAP 5 1994\-11\-28 "" "Linux User Manual" .SH 名前 charmap \- 文字符号化を定義するための文字シンボル .SH 説明 .\" Not true anymore: .\" The portable character set is defined in the file .\" .I /usr/lib/nls/charmap/POSIX .\" .I /usr/share/i18n/charmap/POSIX .\" for reference purposes. 文字集合記述 (charmap) は使用できる文字集合とその符号化を定義する。 サポートされる全ての文字集合は妥当なサブセットとして \fB共通文字集合 (portable character set)\fP を持たなければならない。 .SS 文法 charmap ファイルは以下のキーワードからなるヘッダーで始まる: .TP \fI\fP はコードセットの名前を指定する。 .TP \fI\fP は複数バイト文字の一文字あたりの最大バイト数を指定する。 複数バイト文字は現在のところサポートされていない。デフォルトは 1 である。 .TP \fI\fP は一文字あたりの最低バイト数を指定する。この値は \fBmb_cur_max\fP 以下でなければならない。 もし指定されなければデフォルトは \fBmb_cur_max\fP と同じである。 .TP \fI\fP ファイルの残りの部分でエスケープ・キャラクターとして使用する文字 を指定する。これで特殊な意味に解釈される文字をエスケープする。 デフォルトはバックスラッシュ (\fB\e\fP) である。 .TP \fI\fP はファイルの残りの部分でコメント・キャラクターとして使用する文字 を指定する。デフォルトではシャープ (\fB#\fP) である。 .PP charmap の定義そのものは第一カラムにキーワード \fBCHARMAP\fP を置くことで始める。 以下の行は文字の符号化を定義するための二つの方法である: .TP \fI \fP これは一つの文字とその符号化を定義する。 .TP \fI... \fP この形式は複数の文字を定義する。これは複数バイト文字 (現在は実装されていない) のみで有用である。 .PP charmap の定義の最後の行は \fBEND CHARMAP\fP を置く。 .SS シンボル名 文字の \fBシンボル名 (symbolic name)\fP は \fB共通文字集合(portable character set)\fP の文字のみを含んでいる。 この名前はかぎかっこ < > で挟む。 \fB\fP に続く文字はそれ自身として解釈される。例えば \fB<\e\e\e>>\fP のような文字列は \fB\e>\fP というシンボル名をかぎかっこで狭んで表現している。 .SS 文字符号化 符号化は以下の三つの形式のどれかで表す: .TP \fId<数字>\fP は 10 進の数値を表す。 .TP \fIx<数字>\fP は 16 進の数値を表す。 .TP \fI<数字>\fP .\" FIXME comments .\" FIXME char ... char は 8 進の数値を表す。 .SH ファイル .\" .SH AUTHOR .\" Jochen Hein (jochen.hein@delphi.central.de) \fI/usr/share/i18n/charmaps/*\fP .SH 準拠 POSIX.2. .SH 関連項目 \fBlocale\fP(1), \fBlocaledef\fP(1), \fBlocaleconv\fP(3), \fBsetlocale\fP(3), \fBlocale\fP(5) .SH この文書について この man ページは Linux \fIman\-pages\fP プロジェクトのリリース 3.64 の一部 である。プロジェクトの説明とバグ報告に関する情報は http://www.kernel.org/doc/man\-pages/ に書かれている。