This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libgcj/14670] [win32] gcj & high ascii: incorrectly translated / linux: fails to compile
- From: "tromey at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 14 Dec 2004 20:13:12 -0000
- Subject: [Bug libgcj/14670] [win32] gcj & high ascii: incorrectly translated / linux: fails to compile
- References: <20040321161516.14670.ovidr@users.sourceforge.net>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From tromey at gcc dot gnu dot org 2004-12-14 20:13 -------
If by "high ascii" you mean byte with the high bit
set, then you want to compile those with "--encoding ISO-8859-1"
or the like.
Whether this works on Windows, I don't know. It depends on
whether iconv is available on that platform (or if you are
using libiconv)
What happens if you compile with "gcj -C" and then run the
resulting bytecode using Sun's "java"? If this works, then the
problem is not in the compiler at all but is in the runtime's
choice of default character set.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14670