Forum


Replies: 3   Views: 2025
Unicode characters are displayed as boxes in the pdf file
Topic closed:
Please note this is an old forum thread. Information in this post may be out-to-date and/or erroneous.
Every phpdocx version includes new features and improvements. Previously unsupported features may have been added to newer releases, or past issues may have been corrected.
We encourage you to download the current phpdocx version and check the Documentation available.

Posted by teacheradvisor  · 06-02-2019 - 16:28

Hi,

Unicode characters (like ð´ðµð¶ð·) are displayed fine in the HTML file but NOT in the converted PDF file. In the PDF they are displayed as boxes. Any suggestion?
Note that the html include <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">

Thanks

Posted by teacheradvisor  · 07-02-2019 - 02:06

Sometimes the same html file convert to PDF fine (all characters) and sometimes some Unicode characters not displayed. For example, Rightwards Arrow character is displayed fine but not the Mathematical Italic Capital A character.

Note that the input html file always displayed fine.

Thanks

 

Posted by admin  · 07-02-2019 - 07:17

Hello,

Do you see that characters in the DOCX output before transforming it into PDF? Please send to contact[at]phpdocx.com one of the HTML contents and its DOCX output that returns a wrong PDF.

If the same character is being added correctly sometimes but not others, maybe some characters are not using UTF-8 encoding.

Regards.