This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]