Last Updated: February 25, 2016
·
505
· alvarogarcia7

Default character encoding in java

In Windows, you can define the default character encoding in java as:

JAVA_TOOL_OPTIONS => -Dfile.encoding=UTF8

from this moment on,you should see a

Picked up JAVATOOLOPTIONS: -Dfile.encoding=UTF8

on your java commands.