java 启动参数之----字符编码 0dragon · 2011-10-21 17:00 · 技术备忘 · Web前端 · Markdown jvm的启动参数里加上如下命令 -Dfile.encoding=UTF-8 或 -Dfile.encoding=GBK 程序输出中文乱码的话 尝试吧