How to setup the encoding to UTF-8 in Windows

Windows

chcp 65001

JVM

Setup the environment variable

JAVA_TOOL_OPTIONS

with below value

-Dfile.encoding=UTF8

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.