[Bug java/11755] New: non-ASCII characters treated as errors even in comments
bero at arklinux dot org
gcc-bugzilla@gcc.gnu.org
Fri Aug 1 00:36: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=11755
Summary: non-ASCII characters treated as errors even in comments
Product: gcc
Version: 3.4
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: java
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: bero at arklinux dot org
CC: gcc-bugs at gcc dot gnu dot org
gcj treats non-ASCII characters (e.g. German umlauts) as errors even if they're
used in comments.
Verified in 3.3 branch and HEAD.
e.g. OpenOffice uses umlauts in comments in Java code; therefore I assume the
Sun JDK handles them as expected.
Test case:
// Test äöüÃ
class test {
public static void main(String[] args) {
System.out.printtln("Test");
}
}
More information about the Gcc-bugs
mailing list