home *** CD-ROM | disk | FTP | other *** search
/ Programming Languages Suite / JBuilder8.iso / Solaris / resource / jre / man / sman1 / native2ascii.1 < prev    next >
Encoding:
Text File  |  2002-09-06  |  5.3 KB  |  103 lines

  1. <!DOCTYPE REFENTRY PUBLIC "-//Sun Microsystems//DTD DocBook V3.0-Based SolBook Subset V2.0//EN" [
  2. <!--ArborText, Inc., 1988-1999, v.4002-->
  3. <!ENTITY % javaents SYSTEM "javaman.ent">
  4. %javaents;
  5. ]>
  6. <?Pub UDT _bookmark _target>
  7. <?Pub Inc>
  8. <refentry id="native2ascii-1">
  9. <!--@(#)native2ascii.1 1.14 01/03/14 SMI;-->
  10. <refmeta><refentrytitle>native2ascii</refentrytitle><manvolnum>1</manvolnum>
  11. <refmiscinfo class="date">23 Apr 2001</refmiscinfo>
  12. <refmiscinfo class="sectdesc">&man1;</refmiscinfo>
  13. <refmiscinfo class="software">&java-release;</refmiscinfo>
  14. <refmiscinfo class="arch">generic</refmiscinfo>
  15. <refmiscinfo class="copyright"> Copyright 2001 Sun Microsystems, Inc. All
  16. rights reserved.  Copyright 2001 Sun Microsystems, Inc. Tous droits réservés.
  17. </refmiscinfo>
  18. </refmeta>
  19. <refnamediv><refname>native2ascii</refname><refpurpose>native to ASCII converter
  20. </refpurpose></refnamediv>
  21. <refsynopsisdiv><title>&synp-tt;</title>
  22. <cmdsynopsis><command>native2ascii</command><arg choice="opt"><option>encoding
  23. </option> <replaceable>encoding_name</replaceable></arg><arg choice="opt"><option>
  24. reverse</option></arg><arg choice="opt"><option>J</option><replaceable>option
  25. </replaceable></arg><arg choice="opt"><arg choice="plain"><replaceable>inputfile
  26. </replaceable></arg><arg choice="opt"><replaceable>outputfile</replaceable></arg></arg>
  27. </cmdsynopsis></refsynopsisdiv>
  28. <refsect1><title>&desc-tt;</title>
  29. <indexterm id="native2ascii-1-indx-1"><primary sortas="native to ASCII converter">
  30. native to ASCII converter — native2ascii</primary></indexterm><indexterm
  31. id="native2ascii-1-indx-2"><primary sortas="native2ascii">native2ascii —
  32. native to ASCII converter</primary></indexterm><para>The  <citerefentry><refentrytitle>
  33. javac</refentrytitle><manvolnum>1</manvolnum></citerefentry> compiler and
  34. other Java™ tools can only process files that contain Latin-1 or Unicode-encoded
  35. (\udddd notation) characters. The <command>native2ascii</command> command
  36. converts files that contain other character encoding into files containing
  37. Latin-1 or Unicode-encoded charaters.</para>
  38. <para>If <replaceable>outputfile</replaceable> is omitted, standard output
  39. is used for output. If <replaceable>inputfile</replaceable> is also omitted,
  40. standard input is used for input.</para>
  41. </refsect1>
  42. <refsect1><title>&opts-tt;</title>
  43. <para>The following options are supported:</para>
  44. <variablelist termlength="wholeline">
  45. <varlistentry><term remap="15"><option>encoding</option> <replaceable>encoding_name
  46. </replaceable></term><listitem><para>Specifies the encoding name that is used
  47. by the conversion procedure. The default encoding is taken from system property <literal>
  48. file.encoding</literal>. The <replaceable>encoding_name</replaceable> string
  49. must be one  taken from the first column of the table of supported encodings
  50. in the Supported Encodings document:<informalexample><para><ulink url="http://java.sun.com/j2se/1.4/docs/guide/intl/encoding.doc.html">
  51. http://java.sun.com/j2se/1.4/docs/guide/intl/encoding.doc.html</ulink></para>
  52. </informalexample></para>
  53. </listitem></varlistentry>
  54. <varlistentry><term remap="15"><option>reverse</option></term><listitem><para>
  55. Performs the reverse operation: converts a file with Latin-1 or Unicode-encoded
  56. characters to one with native-encoded characters.</para>
  57. </listitem></varlistentry>
  58. <varlistentry><term><option role="nodash">J</option><replaceable>option</replaceable></term>
  59. <listitem><para>Pass <replaceable>option</replaceable> to the Java virtual
  60. machine, where option is one of the options described on the man page for
  61. the java application launcher, java (1). For example, <literal>-J-Xms48m</literal>
  62. sets the startup memory to 48 megabytes. It is a common convention for <literal>
  63. -J</literal> to pass options to the underlying virtual machine.</para>
  64. </listitem></varlistentry><?Pub Caret>
  65. </variablelist></refsect1>
  66. <refsect1><title>&attr-tt;</title>
  67. <para>See <citerefentry><refentrytitle>attributes</refentrytitle><manvolnum>
  68. 5</manvolnum></citerefentry> for a description of the following attributes:
  69. </para>
  70. <informaltable frame="all" orient="port">
  71. <tgroup cols="2" colsep="1" rowsep="1"><colspec colnum="1" colname="col1"
  72. colwidth="1*" colsep="1" align="left"><colspec colnum="2" colname="col2" colwidth="1*"
  73. align="left">
  74. <thead>
  75. <row><entry colname="col1" rowsep="1" align="center" valign="top">ATTRIBUTE
  76. TYPE</entry><entry colname="col2" rowsep="1" align="center" valign="top">
  77. ATTRIBUTE VALUE</entry></row>
  78. </thead>
  79. <tbody>
  80. <row><entry>Availability</entry><entry>SUNWj3dev</entry></row>
  81. </tbody>
  82. </tgroup>
  83. </informaltable>
  84. </refsect1>
  85. <refsect1><title>&also-tt;</title>
  86. <para><citerefentry><refentrytitle>javac</refentrytitle><manvolnum>1</manvolnum>
  87. </citerefentry>, <citerefentry><refentrytitle>attributes</refentrytitle><manvolnum>
  88. 5</manvolnum></citerefentry></para>
  89. <para><variablelist termlength="wholeline">
  90. <varlistentry><term><citetitle>Supported Encodings</citetitle> @</term><listitem>
  91. <para><ulink url="http://java.sun.com/j2se/1.4/docs/guide/intl/encoding.doc.html">
  92. http://java.sun.com/j2se/1.4/docs/guide/intl/encoding.doc.html</ulink></para>
  93. </listitem></varlistentry>
  94. </variablelist></para>
  95. </refsect1>
  96. <!--+ 07/27/00 08:35:29
  97.     | tagMorph:  $Id: tagMorph-engine 1.54 1998/01/19 05:44:48 $
  98.     | tagMorph library:  $Id: libtagMorph.a 1.50 1998/01/19 22:02:51 $
  99.     | sunman-to-solbook 1.17
  100.     +-->
  101. </refentry>
  102. <?Pub *0000005435>
  103.