java@gcc.gnu.org

ARTUR MILER artur.miler.810@student.lu.se
Mon Mar 15 17:27:00 GMT 2004


Hi;

I have a little problem with gcj. I can't compile programms that have swedish 
charactes in comments!!! Here is example:

class error
{
  public static void main(String[] a)
  {
    /**Den här kompilerar inte med gcj!!!
     */
    System.out.println("Now it works!");
  }
}
Here is output:

$ gcj error.java --main=error
error.java:5: error: malformed UTF-8 character.
       /**Den här kompilerar inte med gcj!!!
                                            ^
1 error

Can I do something to get gcj use unicode instead or is this a bug? I don't have 
such problems with gcc. I'm not so use to tweak gcj (or gcc) so I realy need help.



More information about the Java mailing list