[opencms-dev] Urgent: static export file encoding

Pomegranate Software- Arash Kaffamanesh arash.kaffamanesh at pomegranate.de
Mon Oct 13 18:49:00 CEST 2008


Hi Olivier,

and additionally it won't hurt to set in the head element:

<head>
        <title><cms:property name="Title" /></title>
        <meta http-equiv="Content-Type" content="text/html; 
*charset=utf-8"*>

which helps the static export to work as it should ;-)

Best,
Arash


Georgi Naplatanov wrote:
> 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
>>     
>
>
> _______________________________________________
> 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