From: "Bartomeu Adrover" <[EMAIL PROTECTED]>
[...]
> I has a problem, because the serializer don't put the ISO-8859-1 encoding.
> My solution was put the encoding in the serializer definition:
> <map:serializers default="html-iso">
> <map:serializer name="xml-iso" mime-type="text/xml"
> logger="sitemap.serializer.xml.iso"
> src="org.apache.cocoon.serialization.XMLSerializer" pool-max="32"
> pool-min="16" pool-grow="4">
> <encoding>iso-8859-1</encoding>
> </map:serializer>
Now you can also define default encoding in web.xml and have an Action set
it beforehand.
--
Nicola Ken Barozzi [EMAIL PROTECTED]
- verba volant, scripta manent -
(discussions get forgotten, just code remains)
---------------------------------------------------------------------
---------------------------------------------------------------------
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]>