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