aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2002-01-14 20:40:08 +0000
committerTom Tromey <tromey@gcc.gnu.org>2002-01-14 20:40:08 +0000
commite6a5e4628761239be448d4dfd14eed42bc37383c (patch)
treeebd4b149c88d7fb2cd8be7fc2fd042eabf8f2f5b
parent1fba46a72477f15c336c1787c190cac965881fc6 (diff)
downloadgcc-e6a5e4628761239be448d4dfd14eed42bc37383c.zip
gcc-e6a5e4628761239be448d4dfd14eed42bc37383c.tar.gz
gcc-e6a5e4628761239be448d4dfd14eed42bc37383c.tar.bz2
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
-rw-r--r--gcc/java/ChangeLog12
-rw-r--r--gcc/java/gcj.texi62
2 files changed, 74 insertions, 0 deletions
diff --git a/gcc/java/ChangeLog b/gcc/java/ChangeLog
index ed8078c..5eca139 100644
--- a/gcc/java/ChangeLog
+++ b/gcc/java/ChangeLog
@@ -1,3 +1,15 @@
+2002-01-14 Tom Tromey <tromey@redhat.com>
+
+ 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 <jsturm@one-point.com>
Martin Kahlert <martin.kahlert@infineon.com>
diff --git a/gcc/java/gcj.texi b/gcc/java/gcj.texi
index 267c8ee..3a00870 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