How to set the correct XML encoding using Sablotron
You need to specify the input and output encoding in the right for this to work.
This means that your input XML should have the encoding set in the XML declaration as follows:
<?xml version="1.0" encoding="input-encoding"?>
Your XSL stylesheet should have the output encoding set using the xsl:output element as follows:
<xsl:output method="html" encoding="output-encoding"/>
Last updated: 03/01/2009