Specify file encoding on the server

The file.encoding system property defines the file encoding setting on the XL Deploy server. By default, it is set to UTF-8 to work with the most systems.

Oracle JDK

To change the file encoding for the Oracle Java Development Kit (JDK), change the encoding in bin/run.sh or bin/run.cmd file:

For Unix-based systems (run.sh):

$JAVACMD -Dfile.encoding=UTF-16

For Microsoft Windows (run.cmd):

%JAVACMD% -Dfile.encoding=UTF-16

IBM JDK

To set file encoding for the IBM Java Development Kit (JDK), add the following argument -Dclient.encoding.override=<FileEncodingType> to the bin/run.sh or bin/run.cmd file:

For Unix-based systems (run.sh):

$JAVACMD -Dclient.encoding.override=UTF-16

For Microsoft Windows (run.cmd):

%JAVACMD% -Dclient.encoding.override=UTF-16