[Bug java/12907] New: Codepage confusion in .java files

oyvind dot harboe at zylin dot com gcc-bugzilla@gcc.gnu.org
Wed Nov 5 08:11:00 GMT 2003


PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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

           Summary: Codepage confusion in .java files
           Product: gcc
           Version: 3.4
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: java
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: oyvind dot harboe at zylin dot com
                CC: gcc-bugs at gcc dot gnu dot org

When I try to compile the attached file, see error messages below. Works when I 
compile it from the Eclipse IDE.

C:\Temp\foo\foobar>\wingcc\bin\gcj -o test Send.java --main=Send
Send.java:6: error: malformed UTF-8 character.
                System.out.println("¨nyvind spiser ¦Òl");
                                            ^
Send.java:7: error: malformed UTF-8 character.
        }
     ^
2 errors



More information about the Gcc-bugs mailing list