java运行jar文件时指定编码

java -Dfile.encoding=utf-8 -jar XXX.jar

原文地址:https://www.cnblogs.com/DirWang/p/11205955.html