The default encoding of the JVM is the same as the system it is running on. It is recommended to configure your Java and Apache Tomcat to use the UTF-encoding. This is achieved by setting the property file.encoding to UTF-8.
There are several ways to configure the property and one method is to create a setenv file in your Apache Tomcat binfolder:
q setenv.bat for Windows
q setenv.sh for Linux
The following operating systems should contain the following information in order to use the UTF-8 encoding:
set JAVA_OPTS=%JAVA_OPTS% -Dfile.encoding=UTF-8
q Restart the Apache Tomcat to save the changes.