Groups
Conversations
All groups and messages
Send feedback to Google
Help
Training
Sign in
Groups
PDFTron SDK
Conversations
Labels
About
Unicode characters are not coming out correctly in generated PDF.
41 views
HTML
Unicode
convert
iOS
mobile
pdf
Skip to first unread message
Ryan
unread,
Mar 8, 2016, 6:12:01 PM
3/8/16
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
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
http://www.pdftron.com/pdfnet/mobile/docs/iOS/src/interface_p_t_convert.html#ad130656a0984297f6b8106119102f1fc
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.
https://www.w3.org/International/questions/qa-html-encoding-declarations.en
Reply all
Reply to author
Forward
0 new messages