tbell | 16c34dd | 2009-05-04 18:28:26 -0700 | [diff] [blame^] | 1 | ." Copyright 2002-2006 Sun Microsystems, Inc. All Rights Reserved. |
duke | 6e45e10 | 2007-12-01 00:00:00 +0000 | [diff] [blame] | 2 | ." DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
| 3 | ." |
| 4 | ." This code is free software; you can redistribute it and/or modify it |
| 5 | ." under the terms of the GNU General Public License version 2 only, as |
| 6 | ." published by the Free Software Foundation. |
| 7 | ." |
| 8 | ." This code is distributed in the hope that it will be useful, but WITHOUT |
| 9 | ." ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or |
| 10 | ." FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License |
| 11 | ." version 2 for more details (a copy is included in the LICENSE file that |
| 12 | ." accompanied this code). |
| 13 | ." |
| 14 | ." You should have received a copy of the GNU General Public License version |
| 15 | ." 2 along with this work; if not, write to the Free Software Foundation, |
| 16 | ." Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. |
| 17 | ." |
| 18 | ." Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara, |
| 19 | ." CA 95054 USA or visit www.sun.com if you need additional information or |
| 20 | ." have any questions. |
| 21 | ." |
tbell | 16c34dd | 2009-05-04 18:28:26 -0700 | [diff] [blame^] | 22 | .TH native2ascii 1 "04 May 2009" |
| 23 | ." Generated from HTML by html2man (author: Eric Armstrong) |
| 24 | |
duke | 6e45e10 | 2007-12-01 00:00:00 +0000 | [diff] [blame] | 25 | .LP |
tbell | 16c34dd | 2009-05-04 18:28:26 -0700 | [diff] [blame^] | 26 | .SH "Name" |
duke | 6e45e10 | 2007-12-01 00:00:00 +0000 | [diff] [blame] | 27 | native2ascii \- Native\-to\-ASCII Converter |
| 28 | .LP |
tbell | 16c34dd | 2009-05-04 18:28:26 -0700 | [diff] [blame^] | 29 | .RS 3 |
duke | 6e45e10 | 2007-12-01 00:00:00 +0000 | [diff] [blame] | 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 |
tbell | 16c34dd | 2009-05-04 18:28:26 -0700 | [diff] [blame^] | 35 | .RE |
duke | 6e45e10 | 2007-12-01 00:00:00 +0000 | [diff] [blame] | 36 | .SH "SYNOPSIS" |
| 37 | .LP |
| 38 | |
| 39 | .LP |
| 40 | .nf |
| 41 | \f3 |
| 42 | .fl |
| 43 | \fP\f4native2ascii\fP\f2 [options] [inputfile [outputfile]]\fP |
| 44 | .fl |
| 45 | .fi |
| 46 | |
| 47 | .LP |
| 48 | .SH "DESCRIPTION" |
| 49 | .LP |
| 50 | |
| 51 | .LP |
| 52 | .LP |
| 53 | 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. |
| 54 | .LP |
| 55 | .LP |
| 56 | If \f2outputfile\fP is omitted, standard output is used for output. If, in addition, \f2inputfile\fP is omitted, standard input is used for input. |
| 57 | .LP |
| 58 | .SH "OPTIONS" |
| 59 | .LP |
| 60 | |
| 61 | .LP |
tbell | 16c34dd | 2009-05-04 18:28:26 -0700 | [diff] [blame^] | 62 | .RS 3 |
duke | 6e45e10 | 2007-12-01 00:00:00 +0000 | [diff] [blame] | 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 |
tbell | 16c34dd | 2009-05-04 18:28:26 -0700 | [diff] [blame^] | 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(1). For example, \f3\-J\-Xms48m\fP sets the startup memory to 48 megabytes. |
| 78 | .RE |
| 79 | |
duke | 6e45e10 | 2007-12-01 00:00:00 +0000 | [diff] [blame] | 80 | .LP |
| 81 | |
| 82 | .LP |
| 83 | |