Configuration Properties

Encoding

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 bin folder:

  • setenv.bat for Windows
  • setenv.sh for Linux

    The following operating systems should contain the following information in order to use the UTF-8 encoding:

    For Windows:

    set JAVA_OPTS=%JAVA_OPTS% -Dfile.encoding=UTF-8

    For Linux:

    JAVA_OPTS="$JAVA_OPTS -Dfile.encoding=UTF-8"

  • Restart the Apache Tomcat to save the changes.

(c) 2013-2024 Altair Engineering Inc. All Rights Reserved.

Intellectual Property Rights Notice | Technical Support