+
95
-

回答

在java命令后面增加 -Dfile.encoding=UTF-8即可,完整运行java程序命令如下:

java -Dfile.encoding=UTF-8 Helloworld;

网友回复

我知道答案,我要回答