在编译代码中插入 -encoding UTF-8 示例: javac -encoding UTF-8 *.java 转载于:https://www.cnblogs.com/max-hou/p/9798131.html