Hello all,
I am creating a pdf document containing html formatted text.
There seems to be some sort of encoding problem because certain characters are not being rendered correctly.
For example: ’ and … are defined in the html and are being displayed in the pdf document the actual text ’ and … instead of the single quote and ellipsis characters.
I would be grateful if anyone could suggest what needs doing in order to render this html correctly.
Thanks,
Trevor
Rendering HTML special chars
Re: Rendering HTML special chars
Support · Dec 4, 2006Hello Trevor,
The HTML tags for the single quote and the ellipsis are not supported in our product. Please refer to the Supported Tags
in our help documentation for the supported HTML tags.
However you can add these charachters by using their unicode values. Following is the sample code to display Euro symbol.
FormattedTextArea area = new FormattedTextArea("\u20AC is the Euro symbol",10,10,100,50,FontFamily.Helvetica,12,true);
Thanks,
ceTe Software Support Team.