JVM 属性 -Dfile.encoding=UTF8 还是 UTF-8? [英] JVM property -Dfile.encoding=UTF8 or UTF-8?
本文介绍了JVM 属性 -Dfile.encoding=UTF8 还是 UTF-8?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我想知道将我的文件编码设置为 UTF-8 的 Java 虚拟机 (JVM) 属性的值是多少.
I would like to know what is the value of the Java Virtual Machine (JVM) property to set my file encoding to UTF-8.
我是放-Dfile.encoding=UTF8
还是-Dfile.encoding=UTF-8
?
推荐答案
[信息] 构建成功
无论如何,它对我有用:)
拿起 JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8
[INFO] BUILD SUCCESS
Anyway, it works for me:)
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8
这篇关于JVM 属性 -Dfile.encoding=UTF8 还是 UTF-8?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文