[opencms-dev] Issue with file.encoding=ISO-8859-1 with web hosting company

Alexander Kandzior alex at opencms.org
Fri Oct 24 22:38:01 CEST 2003


Jim,
 
the file encoding controls the binary format in which non ASCII chars are
saved. This applies for example to german umlauts like äöüÄÖüß and all the
other funny characters used in languages around the rest of the world. Fact
1) If you are in the US or do an english site you don't need to care. Fact
2) Cp1252 is _almost_ identical to ISO-8859-1. It's just the MS windows
version of it, and it is _almost_ binary compatible to ISO. In order to
activate Cp1252 for OpenCms you need to set the -Dfile.encoding parameter
for the Java VM and the encoding key at the end of the opencms.properties. 
 
Best Regards,
Alex.

Alexander Kandzior
Alkacon Software - The OpenCms Experts
 <http://www.alkacon.com/> http://www.alkacon.com 

-----Original Message-----
From: opencms-dev-admin at opencms.org [mailto:opencms-dev-admin at opencms.org]
On Behalf Of Polizzi, Jim
Sent: Friday, October 24, 2003 6:48 PM
To: opencms-dev at opencms.org
Subject: [opencms-dev] Issue with file.encoding=ISO-8859-1 with web hosting
company


I would like to use openCms to manage a web site that will be hosted on a
server at a web hosting company.
 
My concern is that I will not be able to specify the Tomcat startup options
- to specify -D.file.encoding=ISO8859-1
 
When I run openCms on my local machine - I can specify this... but I won't
be able to do it on their machine.
 
Tomcat seems to use Cp1252 as it's default (or at least it does on my
machine).  Can openCms work with that?
 
If yes - how?
 
Also - what does the file.encoding actually DO?  What does it effect?
 
Thanks for the help,
 
Jim

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20031024/1e1d9441/attachment.htm>


More information about the opencms-dev mailing list