>       working with Cocoon 2.0.2 i discovered that every serialized
> HTML file contains a line like that:
>
> <META http-equiv="Content-Type" content="text/html; charset=UTF-8">
>
> But, i cannot find where i can tell cocoon to set another charset before
> the response.getWriter() call?

Just add an "encoding" parameter in the declaration of your HTML serializer.
For instance :

  <map:serializer name="html"   mime-type="text/html"
logger="sitemap.serializer.html"
                  src="org.apache.cocoon.serialization.HTMLSerializer">
    <encoding>iso-8859-1</encoding>
  </map:serializer>

Hope it helps !
Matthieu


---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>

Reply via email to