korean characters in XML
843834Nov 21 2007 — edited Nov 21 2007Hi All,
Actully am facing probelm when creating XML with korean language characters. Those characters are converted to some junk characters.
Editor which is used to open the XML is supporting for korean languages.
With that XML file am creating PDF by using FOP 0.93. So all the junk characters are reflected in PDF. To display multi lingual characters in the PDF am using ArialUni code in xsl. Am configuring this to FOP.
Still am unable to get korean characters properly.
while creating XML, whether we need to specify any encoding type for output stream, then where I have to mention that.
for creation of tag am using the following statements.
transformerHandler.startElement("","",tempFieldName,attributes);
transformerHandler.characters(tempFieldValue.toCharArray(),0,tempFieldValue.length());
transformerHandler.endElement("","",tempFieldName);
I think the problem is at the time of creating tag, am calling to toCharArray() method, may be this is the problem
Please help me to get it resolve
Edited by: Palla on Nov 21, 2007 1:45 AM