2012-08-09 61 views

回答

1

您也可以從JVM選項設置

-Dfile.encoding=UTF-8 -Dfile.io.encoding=UTF-8 -DjavaEncoding=UTF-8 
9

在所有的實例配置文件standalone.xml中也有一個部分,名爲system-properties

你可以定義你的屬性是這樣的:

<system-properties> 
    <property name="file.encoding" value="utf-8"/> 
</system-properties> 

應的部分丟失,只是將它加入後,立即<extensions>部分。