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.
Written by Alvaro Garcia
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Java
Authors
Related Tags
#java
#maven
#utf8
#utf-8
#character
#encoding
#character encoding
#character-encoding
#java_tool_options
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#