|
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 Sun Microsystems, Inc., 4150 Network Circle, Santa Clara, |
|
20 ." CA 95054 USA or visit www.sun.com if you need additional information or |
|
21 ." have any questions. |
|
22 ." ` |
|
23 .TH native2ascii 1 "05 Aug 2006" |
|
24 ." Generated by html2roff |
|
25 .\\" Created by: Doug Kramer, 19\-Aug\-1996 |
|
26 .LP |
|
27 .SH NAME |
|
28 native2ascii \- Native\-to\-ASCII Converter |
|
29 .LP |
|
30 |
|
31 .LP |
|
32 .LP |
|
33 Converts a file with native\-encoded characters (characters which are non\-Latin 1 and non\-Unicode) to one with Unicode\-encoded characters. |
|
34 .LP |
|
35 .SH "SYNOPSIS" |
|
36 .LP |
|
37 |
|
38 .LP |
|
39 .nf |
|
40 \f3 |
|
41 .fl |
|
42 \fP\f4native2ascii\fP\f2 [options] [inputfile [outputfile]]\fP |
|
43 .fl |
|
44 .fi |
|
45 |
|
46 .LP |
|
47 .SH "DESCRIPTION" |
|
48 .LP |
|
49 |
|
50 .LP |
|
51 .LP |
|
52 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. |
|
53 .LP |
|
54 .LP |
|
55 If \f2outputfile\fP is omitted, standard output is used for output. If, in addition, \f2inputfile\fP is omitted, standard input is used for input. |
|
56 .LP |
|
57 .SH "OPTIONS" |
|
58 .LP |
|
59 |
|
60 .LP |
|
61 .TP 3 |
|
62 \-reverse |
|
63 Perform the reverse operation: convert a file with Latin\-1 and/or Unicode encoded characters to one with native\-encoded characters. |
|
64 .br |
|
65 .br |
|
66 .TP 3 |
|
67 \-encoding encoding_name |
|
68 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 |
|
69 .na |
|
70 \f4Supported Encodings\fP @ |
|
71 .fi |
|
72 http://java.sun.com/javase/6/docs/technotes/guides/intl/encoding.doc.html document. |
|
73 .TP 3 |
|
74 \-Joption |
|
75 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. |
|
76 .LP |
|
77 |
|
78 .LP |
|
79 |