This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug java/11755] New: non-ASCII characters treated as errors even in comments
- From: "bero at arklinux dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 1 Aug 2003 00:36:43 -0000
- Subject: [Bug java/11755] New: non-ASCII characters treated as errors even in comments
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
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");
}
}