2
|
1 |
.'" t
|
|
2 |
."
|
|
3 |
." Copyright 2000-2006 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 "05 Aug 2006"
|
|
26 |
." Generated by html2roff
|
|
27 |
.\\" Created by: Doug Kramer, 19\-Aug\-1996
|
|
28 |
.LP
|
|
29 |
.SH NAME
|
|
30 |
native2ascii \- Native\-to\-ASCII Converter
|
|
31 |
.LP
|
|
32 |
|
|
33 |
.LP
|
|
34 |
.LP
|
|
35 |
Converts a file with native\-encoded characters (characters which are non\-Latin 1 and non\-Unicode) to one with Unicode\-encoded characters.
|
|
36 |
.LP
|
|
37 |
.SH "SYNOPSIS"
|
|
38 |
.LP
|
|
39 |
|
|
40 |
.LP
|
|
41 |
.nf
|
|
42 |
\f3
|
|
43 |
.fl
|
|
44 |
\fP\f4native2ascii\fP\f2 [options] [inputfile [outputfile]]\fP
|
|
45 |
.fl
|
|
46 |
.fi
|
|
47 |
|
|
48 |
.LP
|
|
49 |
.SH "DESCRIPTION"
|
|
50 |
.LP
|
|
51 |
|
|
52 |
.LP
|
|
53 |
.LP
|
|
54 |
The Java compiler and other Java tools can only process files which contain Latin\-1 and/or Unicode\-encoded (\\udddd notation) characters. \f2native2ascii\fP converts files which contain other character encodings into files containing Latin\-1 and/or Unicode\-encoded charaters.
|
|
55 |
.LP
|
|
56 |
.LP
|
|
57 |
If \f2outputfile\fP is omitted, standard output is used for output. If, in addition, \f2inputfile\fP is omitted, standard input is used for input.
|
|
58 |
.LP
|
|
59 |
.SH "OPTIONS"
|
|
60 |
.LP
|
|
61 |
|
|
62 |
.LP
|
|
63 |
.TP 3
|
|
64 |
\-reverse
|
|
65 |
Perform the reverse operation: convert a file with Latin\-1 and/or Unicode encoded characters to one with native\-encoded characters.
|
|
66 |
.br
|
|
67 |
.br
|
|
68 |
.TP 3
|
|
69 |
\-encoding encoding_name
|
|
70 |
Specify the encoding name which is used by the conversion procedure. The default encoding is taken from System property \f2file.encoding\fP. The \f2encoding_name\fP string must be taken from the first column of the table of supported encodings in the
|
|
71 |
.na
|
|
72 |
\f4Supported Encodings\fP @
|
|
73 |
.fi
|
|
74 |
http://java.sun.com/javase/6/docs/technotes/guides/intl/encoding.doc.html document.
|
|
75 |
.TP 3
|
|
76 |
\-Joption
|
|
77 |
Pass \f2option\fP to the Java virtual machine, where \f2option\fP is one of the options described on the reference page for the java application launcher. For example, \f3\-J\-Xms48m\fP sets the startup memory to 48 megabytes.
|
|
78 |
.LP
|
|
79 |
|
|
80 |
.LP
|
|
81 |
|