From e6a5e4628761239be448d4dfd14eed42bc37383c Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Mon, 14 Jan 2002 20:40:08 +0000 Subject: [PATCH] For PR libgcj/5303: * Make-lang.in (java.install-man): Handle jv-convert man page. (java.generated-manpages): Added jv-convert.1. (java.uninstall): Remove jv-convert.1. (java.maintainer-clean): Likewise. ($(srcdir)/java/jv-convert.1): New target. * gcj.texi (Top): Link to jv-convert node. (Individual utilities): Likewise. (Invoking jv-convert): New node. From-SVN: r48844 --- gcc/java/ChangeLog | 12 +++++++++ gcc/java/gcj.texi | 62 ++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 74 insertions(+) diff --git a/gcc/java/ChangeLog b/gcc/java/ChangeLog index ed8078c415c..5eca139e17b 100644 --- a/gcc/java/ChangeLog +++ b/gcc/java/ChangeLog @@ -1,3 +1,15 @@ +2002-01-14 Tom Tromey + + For PR libgcj/5303: + * Make-lang.in (java.install-man): Handle jv-convert man page. + (java.generated-manpages): Added jv-convert.1. + (java.uninstall): Remove jv-convert.1. + (java.maintainer-clean): Likewise. + ($(srcdir)/java/jv-convert.1): New target. + * gcj.texi (Top): Link to jv-convert node. + (Individual utilities): Likewise. + (Invoking jv-convert): New node. + 2001-01-10 Jeff Sturm Martin Kahlert diff --git a/gcc/java/gcj.texi b/gcc/java/gcj.texi index 267c8ee6c49..3a0087022b3 100644 --- a/gcc/java/gcj.texi +++ b/gcc/java/gcj.texi @@ -34,6 +34,8 @@ * jcf-dump: (gcj)Invoking jcf-dump. Print information about Java class files * gij: (gcj)Invoking gij. GNU interpreter for Java bytecode +* jv-convert: (gcj)Invoking jv-convert. + Convert file from one encoding to another @end direntry @end format @@ -120,6 +122,7 @@ files and object files, and it can read both Java source code and * Invoking jv-scan:: Print information about source files * Invoking jcf-dump:: Print information about class files * Invoking gij:: Interpreting Java bytecodes +* Invoking jv-convert:: Converting from one encoding to another * Resources:: Where to look for more information @end menu @@ -769,6 +772,65 @@ Print version number, then exit. @c man end +@node Invoking jv-convert +@chapter Invoking jv-convert + +@c man title jv-convert Convert file from one encoding to another + +@c man begin synopsis jv-convert +@command{jv-convert} [@option{OPTION}] @dots{} [@var{INPUTFILE} [@var{OUTPUTFILE}]] +@ignore + + [@option{--encoding} @var{name}] + [@option{--from} @var{name}] + [@option{--to} @var{name}] + [@option{-i} @var{file}] [@option{-o} @var{file}] + [@option{--reverse}] [@option{--help}] [@option{--version}] +@end ignore +@c man end + +@c man begin DESCRIPTION jv-convert + +@command{jv-convert} is a utility included with @code{libgcj} which +converts a file from one encoding to another. It is similar to the Unix +@command{iconv} utility. + +The encodings supported by @command{jv-convert} are platform-dependent. +Currently there is no way to get a list of all supported encodings. + +@c man end + +@c man begin OPTIONS jv-convert + +@table @gcctabopt +@item --encoding @var{name} +@itemx --from @var{name} +Use @var{name} as the input encoding. The default is the current +locale's encoding. + +@item --to @var{name} +Use @var{name} as the output encoding. The default is the +@code{JavaSrc} encoding; this is ASCII with @samp{\u} escapes for +non-ASCII characters. + +@item -i @var{file} +Read from @var{file}. The default is to read from standard input. + +@item -o @var{file} +Write to @var{file}. The default is to write to standard output. + +@item --reverse +Swap the input and output encodings. + +@item --help +Print a help message, then exit. + +@item --version +Print version information, then exit. +@end table + +@c man end + @node Resources @chapter Resources -- 2.30.2