Main menu:

Site search

Feeds

Categories

August 2014
S M T W T F S
« Mar    
 12
3456789
10111213141516
17181920212223
24252627282930
31  

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