Using the javac command to compile java reports an error:
Solution:
Add after javac-encoding UTF-8
-encoding UTF-8