This is the mail archive of the java@gcc.gnu.org mailing list for the Java 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]

Re: unrecognized character in input stream


>>>>> "Olivier" == Olivier LF <olivier@zipworld.com.au> writes:

Olivier> tournesol:~$ gcj --encoding=UTF-8 -c Test.java 
Olivier> Test.java:3: unrecognized character in input stream.
Olivier>       /** Hüffihütte */
Olivier>                        ^

You're telling gcj that your input file is encoded using UTF-8.
However, that isn't the case.  It is encoded using ISO-8859-1.
Try using --encoding=ISO-8859-1.

Tom


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