Main menu:

Site search

Feeds

Categories

September 2014
S M T W T F S
« Mar    
 123456
78910111213
14151617181920
21222324252627
282930  

Archive

get cocoon to output utf-8

If you need to get cocoon to output utf-8, open the sitemap.xmap file for your cocoon installation, and change the xml serializer (or whichever serializer you need to use) like this:

<map:serializer logger=“sitemap.serializer.xml” mime-type=“text/xml” name=“xml” src=“org.apache.cocoon.serialization.XMLSerializer”>
      <encoding>UTF-8</encoding>
    </map:serializer>

Write a comment