Not really an iText problem. See the javadoc for java.util.Properties and the escape characters. If you just use a resource with chinese text inside it depends on the encoding it was save in (UTF8, Big5, GBK, etc); a matching encoding must be used on reading to convert it to Unicode.
Best Regards, Paulo Soares > -----Original Message----- > From: SRIDHARAN Aravind [SMTP:[EMAIL PROTECTED]] > Sent: Tuesday, December 03, 2002 9:22 > To: '[EMAIL PROTECTED]' > Subject: [iText-questions] Regarding Chinese Characters > > Hi All, > I have followed the instructions provided in the tutorial for displaying > chinese characters on a PDF. > It comes fine and ok. > I use chinese NT and hope there is no problem. > But there is a problem if I read chinese texts from a property file and > display the same on a PDF. It comes as junk characters. > If I hardcode those chinese characters directly inside the Java file that > generates the PDF, it comes perfectly fine. Why? > What should I do such that if I read from a property file, the chinese > characters have to get displayed properly? > > Thank you. > Aravind > > > ------------------------------------------------------- > This SF.net email is sponsored by: Get the new Palm Tungsten T > handheld. Power & Color in a compact size! > http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0002en > _______________________________________________ > iText-questions mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/itext-questions ------------------------------------------------------- This SF.net email is sponsored by: Get the new Palm Tungsten T handheld. Power & Color in a compact size! http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0002en _______________________________________________ iText-questions mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/itext-questions
