Rem invoking the compiler when your source code contains naked UTF-8 characters. javac.exe -encoding UTF-8 MyClass.java