The long way through Software Craftsmanship

Java Tips & Gotchas

Oct 7, 2015 - 1 minute read - Comments - tipgotchajavacharacter-encodingutf8java-tool-optionsfile-encoding

JVM default encoding as UTF-8

Make the JVM use UTF-8 character encoding by default

Set up the system property JAVA_TOOL_OPTIONS to -Dfile.encoding=UTF8

Tip: Differences in maven test execution Tool: Building a local pipeline

comments powered by Disqus