Å endre fra windows-1252 til iso-8859-1
opencms.org installasjonen ber meg skifte fra windows-1252 til iso-8859-1.Jeg prøver
C:\>java -D file.encoding=iso-8859-1
Exception in thread "main" java.lang.NoClassDefFoundError: file/encoding=iso-8859-1
C:\>java -version
java version "1.4.2"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2-b28)
Java HotSpot(TM) Client VM (build 1.4.2-b28, mixed mode)
Hva går galt her? Meldingen fra opencms:
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.:
CATALINA_OPTS=-Dfile.encoding=ISO-8859-1
