unrecognized character in input stream

Olivier LF olivier@zipworld.com.au
Thu Jun 13 06:40:00 GMT 2002


I am not sure if this is a bug or just me not using the right
compilation flags.
Each time I try to compile a file with non ascii characters in comments, 
I get an error message similar to this one:
tournesol:~$ gcj --encoding=UTF-8 -c Test.java 
Test.java:3: unrecognized character in input stream.
 /** Hüffihütte */
 ^
Test.java:4: unrecognized character in input stream.
 }
 ^
2 errors
Adding/removing --encoding=UTF-8 does not help.
This is with a recent gcj from CVS:
tournesol:~$ gcj -v
Reading specs from
/usr/local/gcc/lib/gcc-lib/i686-pc-linux-gnu/3.2/specs
Reading specs from
/usr/local/gcc/lib/gcc-lib/i686-pc-linux-gnu/3.2/../../../libgcj.spec
rename spec lib to liborig
Configured with: ../../program/cvs/gcc/configure --prefix=/usr/local/gcc
--enable-shared --enable-threads=posix --enable-languages=c++,java
Thread model: posix
gcc version 3.2 20020518 (experimental)
I attach a small Test.java example.
Olivier
-- 
----------------------------------------------------------------------
Olivier Louchart-Fletcher
Email: olivier@zipworld.com.au
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Test.java
Type: text/x-java
Size: 45 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/java/attachments/20020613/e2d33e36/attachment.bin>


More information about the Java mailing list

AltStyle によって変換されたページ (->オリジナル) /