Unicode characters are not coming out correctly in generated PDF.

39 views
Skip to first unread message

Ryan

unread,
Mar 8, 2016, 6:12:01 PM3/8/16
to PDFTron PDFNet SDK
Question:

I am using PTConvert convertOfficeToPDF to convert my HTML file to PDF. However accents are not working, for example "ó" - "Già"

Answer:

The function convertOfficeToPDF actually uses iOS to do the conversion. As such, we have no control or insight into what is happening

That being said, I suspect there is an issue with encoding of the HTML. You should specify that the HTML file saved to disk is UTF8 encoded, by declaring that in the HTML.
Reply all
Reply to author
Forward
0 new messages