Skip to content

CAUTION: This site hosts draft documentation for the next release. For published content of the latest release, visit www.eclipse.org/openj9/docs

-Dfile.encoding

Use this OpenJDK property to define the file encoding that is required.

Syntax

    -Dfile.encoding=<value>
Setting Value Default
<value> [string] Unicode 3.0 standards
where <value> defines the file encoding that is required.

Explanation

By default the GBK converter follows Unicode 3.0 standards. To force the GBK converter to follow Unicode 2.0 standards, use a value of bestfit936.