JVM property -Dfile.encoding=UTF8 or UTF-8?

后端 未结 5 907
傲寒
傲寒 2020-12-01 01:57

I would like to know what is the value of the Java Virtual Machine (JVM) property to set my file encoding to UTF-8.

Do I put -Dfile.encoding=UTF8 or

5条回答
  •  野趣味
    野趣味 (楼主)
    2020-12-01 02:11

    [INFO] BUILD SUCCESS
    Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8
    Anyway, it works for me:)

提交回复
热议问题