I have an RSS feed from our home page which is being generated by pulling in the HTML and Tidying it:

<map:match pattern="ucc">
  <map:generate src="http://www.ucc.ie/en/"; type="html"/>
  <map:transform src="xsl/ucc.xsl"/>
  <map:serialize type="xml"/>
</map:match>

This works, except that the output starts with the XML Declaration claiming <?xml version="1.0" encoding="ISO-8859-1"?>

But the home page is UTF-8, the ucc.xsl file is UTF-8, the xsl:output inside it specifies UTF-8, and tidy.properties specifies char-encoding=UTF-8.

Something, somewhere is interfering, and adding this encoding="ISO-8859-1", but I'm at a loss where to look.

I also notice that all my generated HTML from Cocoon is being labelled with <META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> but I can't find where to turn this off.

///Peter


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to