1 '\" t 2 .\" 3 .\" Copyright 2000-2004 Sun Microsystems, Inc. All Rights Reserved. 4 .\" DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 5 .\" 6 .\" This code is free software; you can redistribute it and/or modify it 7 .\" under the terms of the GNU General Public License version 2 only, as 8 .\" published by the Free Software Foundation. 9 .\" 10 .\" This code is distributed in the hope that it will be useful, but WITHOUT 11 .\" ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 12 .\" FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 13 .\" version 2 for more details (a copy is included in the LICENSE file that 14 .\" accompanied this code). 15 .\" 16 .\" You should have received a copy of the GNU General Public License version 17 .\" 2 along with this work; if not, write to the Free Software Foundation, 18 .\" Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 19 .\" 20 .\" Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 21 .\" or visit www.oracle.com if you need additional information or have any 22 .\" questions. 23 .\" 24 .TH native2ascii 1 "05 Jul 2012" 25 .SH "名前" 26 native2ascii \- ネイティブコードから ASCII への変換 27 .\" 28 .\" This document was created by saving an HTML file as text 29 .\" from the JavaSoft web site: 30 .\" 31 .\" http://java.sun.com/products/jdk/1.2/docs/tooldocs/tools.html 32 .\" 33 .\" and adding appropriate troff macros. Because the JavaSoft web site 34 .\" man pages can change without notice, it may be helpful to diff 35 .\" files to identify changes other than new functionality. 36 .\" 37 .SH "形式" 38 .B native2ascii 39 [ 40 .B options 41 ] 42 .if n .ti +5n 43 [ 44 .IR inputfile " [" outputfile "]]" 45 .SH "機能説明" 46 .IX "native to ASCII converter" "" "native to ASCII converter \(em \fLnative2ascii\fP" 47 .IX "native2ascii" "" "\fLnative2ascii\fP \(em native to ASCII converter" 48 Java コンパイラなどの 49 Java 50 ツールが処理できるファイルは、 51 Latin-1 52 文字もしくは\^ 53 Unicode 54 でエンコードされた文字 55 (\\udddd) 56 からなるファイルだけです。 57 .B native2ascii 58 は、他の文字コードのファイルを 59 Latin-1 60 または 61 Unicode 62 エンコーディングのファイルに変換します。 63 .LP 64 .I outputfile 65 引数を省略すると、出力先は標準出力となります。 66 また、 67 .I inputfile 68 引数を省略すると、入力元は標準入力となります。 69 .SH "オプション" 70 以下のオプションが使用できます。 71 .TP 5 72 .B \-encoding \f2encoding_name\f1 73 変換処理で用いるエンコーディング名を指定します。 74 デフォルトのエンコーディング名は、システムプロパティの 75 \f3file.encoding\f1 76 から得られます。 77 .I encoding_name 78 文字列は、ドキュメント「サポートされているエンコーディング」の、 79 サポートされるエンコーディングの表で最初の列にある文字列の 1 つでなければ 80 なりません。 81 .br 82 http://docs.oracle.com/javase/6/docs/technotes/guides/intl/encoding.doc.html 83 .\" http://docs.oracle.com/javase/6/docs/technotes/guides/intl/encoding.doc.html 84 .TP 5 85 .B \-reverse 86 逆の変換処理を行います。つまり 87 Latin-1 88 または 89 Unicode 90 でエンコーディングされている文字を、ネイティブコードに変換します。 91 .TP 15 92 .BI \-J "option" 93 .I option 94 を Java 仮想マシンに渡します。ここで、 95 .I option 96 は、Java アプリケーション起動プログラム java(1) のマニュアルページで 97 説明されているオプションの 1 つです。たとえば、 98 .I \-J-Xms48m 99 は、起動時に使用するメモリを 48M バイトに設定します。 100 .B \-J 101 が基本となる仮想マシンにオプションを渡すことは、共通の規約です。 102