Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

korean characters in XML

843834Nov 21 2007 — edited Nov 21 2007
Hi 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
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Dec 19 2007
Added on Nov 21 2007
1 comment
695 views