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.