2
|
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 Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
|
|
21 |
.\" CA 95054 USA or visit www.sun.com if you need additional information or
|
|
22 |
.\" have any questions.
|
|
23 |
.\"
|
|
24 |
.\"
|
|
25 |
.TH native2ascii 1 "2004 年 6 月 22 日"
|
|
26 |
.SH "名前"
|
|
27 |
native2ascii \- ネイティブコードから ASCII への変換
|
|
28 |
.\"
|
|
29 |
.\" This document was created by saving an HTML file as text
|
|
30 |
.\" from the JavaSoft web site:
|
|
31 |
.\"
|
|
32 |
.\" http://java.sun.com/products/jdk/1.2/docs/tooldocs/tools.html
|
|
33 |
.\"
|
|
34 |
.\" and adding appropriate troff macros. Because the JavaSoft web site
|
|
35 |
.\" man pages can change without notice, it may be helpful to diff
|
|
36 |
.\" files to identify changes other than new functionality.
|
|
37 |
.\"
|
|
38 |
.SH "形式"
|
|
39 |
.B native2ascii
|
|
40 |
[
|
|
41 |
.B options
|
|
42 |
]
|
|
43 |
.if n .ti +5n
|
|
44 |
[
|
|
45 |
.IR inputfile " [" outputfile "]]"
|
|
46 |
.SH "機能説明"
|
|
47 |
.IX "native to ASCII converter" "" "native to ASCII converter \(em \fLnative2ascii\fP"
|
|
48 |
.IX "native2ascii" "" "\fLnative2ascii\fP \(em native to ASCII converter"
|
|
49 |
Java コンパイラなどの
|
|
50 |
Java
|
|
51 |
ツールが処理できるファイルは、
|
|
52 |
Latin-1
|
|
53 |
文字もしくは\^
|
|
54 |
Unicode
|
|
55 |
でエンコードされた文字
|
|
56 |
(\\udddd)
|
|
57 |
からなるファイルだけです。
|
|
58 |
.B native2ascii
|
|
59 |
は、他の文字コードのファイルを
|
|
60 |
Latin-1
|
|
61 |
または
|
|
62 |
Unicode
|
|
63 |
エンコーディングのファイルに変換します。
|
|
64 |
.LP
|
|
65 |
.I outputfile
|
|
66 |
引数を省略すると、出力先は標準出力となります。
|
|
67 |
また、
|
|
68 |
.I inputfile
|
|
69 |
引数を省略すると、入力元は標準入力となります。
|
|
70 |
.SH "オプション"
|
|
71 |
以下のオプションが使用できます。
|
|
72 |
.TP 5
|
|
73 |
.B \-encoding \f2encoding_name\f1
|
|
74 |
変換処理で用いるエンコーディング名を指定します。
|
|
75 |
デフォルトのエンコーディング名は、システムプロパティの
|
|
76 |
\f3file.encoding\f1
|
|
77 |
から得られます。
|
|
78 |
.I encoding_name
|
|
79 |
文字列は、ドキュメント「サポートされているエンコーディング」の、
|
|
80 |
サポートされるエンコーディングの表で最初の列にある文字列の 1 つでなければ
|
|
81 |
なりません。
|
|
82 |
.br
|
|
83 |
http://java.sun.com/j2se/1.5/docs/guide/intl/encoding.doc.html
|
|
84 |
.\" http://java.sun.com/j2se/1.5/docs/guide/intl/encoding.doc.html
|
|
85 |
.TP 5
|
|
86 |
.B \-reverse
|
|
87 |
逆の変換処理を行います。つまり
|
|
88 |
Latin-1
|
|
89 |
または
|
|
90 |
Unicode
|
|
91 |
でエンコーディングされている文字を、ネイティブコードに変換します。
|
|
92 |
.TP 15
|
|
93 |
.BI \-J "option"
|
|
94 |
.I option
|
|
95 |
を Java 仮想マシンに渡します。ここで、
|
|
96 |
.I option
|
|
97 |
は、Java アプリケーション起動プログラム java(1) のマニュアルページで
|
|
98 |
説明されているオプションの 1 つです。たとえば、
|
|
99 |
.I \-J-Xms48m
|
|
100 |
は、起動時に使用するメモリを 48M バイトに設定します。
|
|
101 |
.B \-J
|
|
102 |
が基本となる仮想マシンにオプションを渡すことは、共通の規約です。
|
|
103 |
|