[opencms-dev] How can I set "Charset Encoding:UTF-8"forstaticexport?

Sebastian Lavena slavena at mkti.com.ar
Wed Mar 29 14:50:59 CEST 2006


Thanks a lot for all of your answers.

I have OpenCMS under Debian, and yes. The problem was that I test the 
exported files with "vi", and it doesn´t show properly the content.

And I have another problem with the meta-tags.

Now is all fixed.

Thanks a lot,

Sebastian

----- Original Message ----- 
From: "Arash Kaffamanesh" <arash.kaffamanesh at pomegranate.de>
To: "'The OpenCms mailing list'" <opencms-dev at opencms.org>
Sent: Tuesday, March 28, 2006 12:36 PM
Subject: RE: [opencms-dev] How can I set "Charset 
Encoding:UTF-8"forstaticexport?


Pere,
Christian,

It could be that your old head.jsp with the wrong encoding is getting
cached, purge the flex cache and try a new static export, I'm doing static
export with several languages, including German, English and Farsi (Persian)
and it works fine, but I can remember, that sometimes the old head was
included and I had to purge the jsp repository or even restart my tomcat
sometimes.

After the static export examine your source and be sure that the right
encoding (UTF-8) exists in the head.

And if you use MySQL be sure that your encoding setting of InnoDB tables is
UTF-8.

HTH,

Kind Regards,
Arash

-----Original Message-----
From: opencms-dev-bounces at opencms.org
[mailto:opencms-dev-bounces at opencms.org] On Behalf Of Christian Steinert
Sent: Dienstag, 28. März 2006 16:58
To: The OpenCms mailing list
Subject: Re: [opencms-dev] How can I set "Charset Encoding:
UTF-8"forstaticexport?


Arash and Pere should be right.

If the browser gets a page from opencms, then opencms will inform about the
page encoding with the response header.
If you do static export then apache (or whatever) will deliver the page and
apache has no clue about the page encoding.

Therefore you need to insert the meta tag as Arash described, so that the
browser can apply the correct encoding when it display the page.


Christian

__________________________________________________________________________
Erweitern Sie FreeMail zu einem noch leistungsstärkeren E-Mail-Postfach!

Mehr Infos unter http://freemail.web.de/home/landingpad/?mc=021131


_______________________________________________
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


__________ Información de NOD32 1.1330 (20051220) __________

Este mensaje ha sido analizado con  NOD32 antivirus system
http://www.nod32.com





More information about the opencms-dev mailing list