cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nicola Ken Barozzi" <baro...@nicolaken.com>
Subject Re: xsl:output problem
Date Fri, 01 Mar 2002 07:37:00 GMT
From: "Bartomeu Adrover" <tomeu.adrover@uib.es>

[...]
> 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                 barozzi@nicolaken.com
            - 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: <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail: <cocoon-users-help@xml.apache.org>


Mime
View raw message