Hi all,

 

I can't seem to set encoding properly when writing xml to a file using
the write-source transformer.  Googling around has not yet resulted in a
solution ;-(

 

In my sitemap I have declared the serializer like below:

 

       <map:serializer logger="sitemap.serializer.xml"
mime-type="text/xml" name="xml"
src="org.apache.cocoon.serialization.XMLSerializer">

          <encoding>UTF-8</encoding>

       </map:serializer>

 

 

All my stylesheets contain following 

 

  <xsl:output method="xml" version="1.0" encoding="UTF-8" indent="yes"/>

 

But nothing seems to affect the end result:

<?xml version="1.0" encoding="ISO-8859-1"?>

 

Anybody who can explain how to override the encoding to UTF-8?

 

Thx in advance,

Robby

 

Reply via email to