I am trying to change the encoding but I don't know the command to do it.:
Red Hat 9
Here is my error message:
Error: the encoding of your Java VM is different from the OpenCms encoding!
Java VM file encoding: UTF-8
OpenCms encoding: ISO-8859-1
To continue the setup process:
Change the encoding of your Java VM. To do that you must modify the file.encoding setting. Using Apache Tomcat, a different encoding can be set in the environment variable CATALINA_OPTS by the -D parameter e.g.:
If you want to use an encoding different from ISO-8859-1, you must also adjust the defaultContentEncoding setting in WEB-INF/config/opencms.properties.
Unless you have specific encoding requirements, you should use the default ISO-8859-1 setting. Please refer to the Sun documentation for a list of supported encodings for your OS.
So I have tried
ln -s CATALINA_OPTS=-Dfile.encoding=ISO-8859-1
and I have tried:
but it doesn't seem to be working am I doing it right?