[opencms-dev] Urgent: static export file encoding

Georgi Naplatanov gosho at oles.biz
Mon Oct 13 17:46:57 CEST 2008


Hello, Chirouze, as i remeber java use character encoding from the
operating system when writes character data to the file systems, so
there are 2 options:

 - use java -Dfile.encoding=... , see
http://www.jguru.com/faq/view.jsp?EID=78088
 - change the source code and set character encoding what you want
 - change the locale of operating system envirinment

linux examle

$ export LOCALE=en_US.UTF-8

Best regards
Georgi

Chirouze Olivier wrote:
> Hi folks,
> 
> My template html files get their special characters all messed up when
> "static exported".
> What I mean is: an html page with characters with accents, for instance,
> that look perfect online (IE + Firefox), get wrong characters when it
> goes to the filesystem.
> 
> I guess it has to do with how OpenCms encodes files on the filesystem
> (file.encoding java property?) but I didn't manage to fix that.
> 
> Please help, that's kind of urgent!!
> 
> Thanks
> 
> Olivier
> 
> 
> 
> 
> ------------------------------------------------------------------------
> 
> 
> _______________________________________________
> This mail is sent to you from the opencms-dev mailing list
> To change your list options, or to unsubscribe from the list, please visit
> http://lists.opencms.org/mailman/listinfo/opencms-dev




More information about the opencms-dev mailing list