1 Reply Latest reply on Sep 9, 2003 3:57 AM by Jon Barnett

    Change charset from "UTF-8" to "ISO-8859-1" ?

    Ove Nordstrom Newbie

      Hi,
      I have installed OpenCms 5.0.0 and jboss-3.2.2RC3.
      To make sure openCms works with correct charset I have to change from "UTF-8" to "ISO-8859-1".
      Any know how to changed in jboss-3.2.2RC3?
      Best Regards,
      Ove

      Instructions how to configure it in Tomcat (from openCms)
      ----------------------------------------------------
      Important: To make sure Tomcat works with the correct charset to read and write files you should add the following parameter to the commandline that is used to start Tomcat: -Dfile.encoding=ISO-8859-1. You can set the environment variable CATALINA_OPTS to do so (CATALINA_OPTS=-Dfile.encoding=ISO-8859-1, Please refer to the Tomcat documentation on how to set the environment variable). The default encoding of OpenCms is ISO-8859-1, but you can also set another encoding supported by your Java VM, e.g. UTF-8. In case you do not care about the encoding, the default is most likely what you need.