I am using javax.xml.transform.Transformer to convert a Xml
String to HTML using a xsl file.
I am getting the following exception --
javax.xml.transform.TransformerException: Character conversion error: "Malformed UTF-8 char -- is an XML encoding declaration missing?" (line number may be too low). The Xml string (packet) is dynamically generated inside a
servlet. It has some Thai language data. I have specifed the encoding type as "UTF-8" for both...xml and xsl. I even tried it without any encoding type.
Can any body help me out?
-- Ashish Agrawal.