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

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

    ovjo

      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.

        • 1. Re: where should i place jar while is common to web and ejb
          jonlee

          Hi,

          how did you put the entry for the common.jar in your application.xml file?
          I only know the subtags of the module tag:
          \<connector\> for connectors
          \<ejb\> for enterprise java beans
          \<java\> for application clients
          \<web\> for web-applications

          A tag for defining utility jars is missing, isn't it?

          Regards, Jochen