On Thursday, November 14, 2002, at 04:44 PM, Shahzad Latif wrote:
Hi:In the xml data, use a character reference that makes sense based on the encoding of the pdf document ... "™" should work for trademark in a pdf file of WinAnsiEncoding. If it doesn't, it would seem to be a problem with your xml parser.
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
Scott
-------------------------------------------------------
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
