How to change the defaults system java encode form in windows?

大憨熊 提交于 2019-12-06 04:57:22
kentcdodds

Take a look at this answer. It worked for me, and I don't have to worry about it anymore :) https://stackoverflow.com/a/623036/971592

Pick the correct encoding of the java source. UTF-8 would be a good requirements standard. One can use the open source editor JEdit to test which encoding the source actually is in. The java tool native2ascii can convert.

javac -encoding UTF-8 ...
标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!