parse the string and change the \u2122 into the unicode char. - dave
----- Original Message ----- From: "Shahzad Latif" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, November 14, 2002 2:44 PM Subject: [iText-questions] fonts and encoding issue > Hi: > > Got into an intersting situation: > > 1) We are receiving XML data from different sources > 2) We have created some java classes and loaded them in Oracle. > 3) The XML data is passed as a parameter to the java sotred procedure that > creates a PDF > > Character encoding in Oracle is WE8ISO8859P1. > > Clients have started sending html tags in the XML data for special > characters like trademark symbol etc. Obviously, it wouldn't work. As a > remedy, we asked them to start sending us unicode strings (eg., "This is > Company A\u2122"). Where "\u2122" is the unicode for TM. Obviously, we > forgot the client was not using java. They have started sending us literally > "\u2122". This parameter ends up exactly the same with \+u+2+1+2+2 at the > end of the line on PDF. > > Can someone suggest a workaround or a possible solution. > > Thanks, > > Shahzad > > > _________________________________________________________________ > Help STOP SPAM with the new MSN 8 and get 2 months FREE* > http://join.msn.com/?page=features/junkmail > > > > ------------------------------------------------------- > This sf.net email is sponsored by: To learn the basics of securing > your web site with SSL, click here to get a FREE TRIAL of a Thawte > Server Certificate: http://www.gothawte.com/rd524.html > _______________________________________________ > iText-questions mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/itext-questions > ------------------------------------------------------- This sf.net email is sponsored by: To learn the basics of securing your web site with SSL, click here to get a FREE TRIAL of a Thawte Server Certificate: http://www.gothawte.com/rd524.html _______________________________________________ iText-questions mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/itext-questions
