325N/A." Copyright 2000-2006 Sun Microsystems, Inc. All Rights Reserved.
325N/A." DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
325N/A." This code is free software; you can redistribute it
and/or modify it
325N/A." under the terms of the GNU General Public License version 2 only, as
325N/A." published by the Free Software Foundation.
325N/A." This code is distributed in the hope that it will be useful, but WITHOUT
325N/A." ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
325N/A." FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
325N/A." version 2 for more details (a copy is included in the LICENSE file that
325N/A." accompanied this code).
325N/A." You should have received a copy of the GNU General Public License version
325N/A." 2 along with this work; if not, write to the Free Software Foundation,
325N/A." Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
325N/A." Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
325N/A.TH native2ascii 1 "05 Aug 2006"
325N/A." Generated by html2roff
325N/A.\\" Created by: Doug Kramer, 19\-Aug\-1996
325N/Anative2ascii \- Native\-to\-ASCII Converter
325N/AConverts a file with native\-encoded characters (characters which are non\-Latin 1 and non\-Unicode) to one with Unicode\-encoded characters.
\fP\f4native2ascii\fP\f2 [options] [inputfile [outputfile]]\fP
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.
If \f2outputfile\fP is omitted, standard output is used for output. If, in addition, \f2inputfile\fP is omitted, standard input is used for input.
Perform the reverse operation: convert a file with Latin\-1
and/or Unicode encoded characters to one with native\-encoded characters.
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
\f4Supported Encodings\fP @
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.