Archive for July, 2013

Java: Encoding UTF8 Java_tools

Thursday, July 11th, 2013

on unix systems (linux, Mac) set the following in your .profile or equivalent.

export JAVA_TOOL_OPTIONS=-Dfile.encoding=UTF-8

On windows, setting the (Windows) environment variable JAVA_TOOL_OPTIONS to -Dfile.encoding=UTF-8, the (Java) System property will be set automatically every time a JVM is started.

source