By Date: <-- -->
By Thread: <-- -->

Parsing xml with polish character



Hi
I used ITEXT1.3 for XML to PDF conversion with Datamerging.My program is working for other languagae but when I tried to parse Polish character it display '?'  or eating the special character.

In xml I am defining encoding 'ISO-8859-2'

Can anybody tell me what I am missing.? here is my code..
// Step 1: creation of a document-object
document = new Document(PageSize.A4);
// step 2: create a writer that listens to the document
writer = PdfWriter.getInstance(document, baos);
document.open();
// step 3: we create a parser and set the document handler
parser.parse(bais,new CustomTagHandler(document, writer, getCustomMap()));
document.close();parser = SAXParserFactory.newInstance().newSAXParser();




Thanks in advance





-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
iText-questions mailing list
iText-questions (at) lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions