Gcj reversing byte-order of ISO-2022-JP text?

Tom Tromey tromey@redhat.com
Tue Aug 7 17:41:00 GMT 2007


>>>>> "Brian" == Brian Matthews <brmatthe@ironport.com> writes:

Brian> Gcj seems to be reversing the byte-order when converting
Brian> ISO-2022-JP to Unicode.

I tried this with svn trunk and also with the Fedora 6 gcj, and both
of them worked fine.

Brian> This is on a FreeBSD system using FreeBSD ports.

Brian> This is probably easy to fix if I could find where it's happening, but I
Brian> don't know enough about the internals of gcj, gcc, or iconv to know even
Brian> where to look.

Brian> Any suggestions?

Offhand it sounds vaguely similar to:

    http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31939

Maybe FreeBSD iconv is returning something different from glibc.

Tom



More information about the Java mailing list