[opencms-dev] the encoding of your Java VM is different from the OpenCms encoding!

Pablo Mir Macías pmir at ptec.es
Wed May 5 16:31:02 CEST 2004


Hi!

I solved this problem by following the steps described at

http://www.adictosaltrabajo.com/tutoriales/tutoriales.php?pagina=opencms

It's wrote in Spanish (my language...) but contains useful screenshots.

Did I help you?

Pablo Mir

-----Mensaje original-----
De: opencms-dev-admin at opencms.org [mailto:opencms-dev-admin at opencms.org] En
nombre de Vincent Hanniet
Enviado el: miércoles, 05 de mayo de 2004 16:15
Para: opencms-dev at opencms.org
Asunto: Re: [opencms-dev] the encoding of your Java VM is different from the
OpenCms encoding!

Hello,
Try to add -Dfile.encoding=ISO-8859-1 in catalina.bat directly in the 
command line like :
%_EXECJAVA% %JAVA_OPTS% -Dfile.encoding=ISO-8859-1 %CATALINA_OPTS% 
%DEBUG_OPTS% -Djava.endorsed.dirs="%JAVA_ENDORSED_DIRS%" -classpath 
"%CLASSPATH%" -Dcatalina.base="%CATALINA_BASE%" 
-Dcatalina.home="%CATALINA_HOME%" -Djava.io.tmpdir="%CATALINA_TMPDIR%" 
%MAINCLASS% %CMD_LINE_ARGS% %ACTION%

I had the same problems an found that the parameter CATALINA_OPTS was 
not taken into account...

Vincent

Peter Baxter wrote:

> Hi all,
>  
> OK..I have googled this and found many poepl have had the same issue, 
> but none of thier solutions have helped me to date and I'm wondering if 
> anyone can assist me here with thier knowlege and previous experience...
>  
> OS: Windows XP (Home Edition) ver 5.1
> Tomcat: Version 4.1
> OpenCMS: 5.0.1
> JDK: 1.4
>  
> CATALINA_OPTS=-Dfile.encoding=ISO-8859-1
> I also added the parameter |-Dfile.encoding=ISO-8859-1| to the command 
> line behind the call of the java executable.
>  
> But no luck....I am still getting the same error..
>  
> Error: the encoding of your Java VM is different from the OpenCms
encoding!
>  
> Java VM file encoding: 	Cp1252
> OpenCms encoding: 	ISO-8859-1
> 
>  
> .... and no matter what I try I can't figure out what is causing this 
> error, any suggestions? direction?
>  
> Thanks in advance for any help you can give me on this!
>  
> Best,
>  
> Peter Baxter

_______________________________________________
This mail is send to you from the opencms-dev mailing list
To change your list options, or to unsubscribe from the list, please visit
http://mail.opencms.org/mailman/listinfo/opencms-dev




More information about the opencms-dev mailing list