Free Support Forum - aspose.com

Converting from PDF XML to PDF loses unicode (Simplified Chinese in this case)

After about 3-4 weeks i have updated my aspose DLLs (word/pdf/pdf.kit). I ran the same code and now unicode is not working.

See attached PDF XML, I will post the resultant PDF in the next post.

I am using all the latest DLLs (i just dl’d them this morning).

Attached is the resultant PDF file.


All the transformations are done on the same computer, so the font is available.

Just as proof, i’ve also attached the word document that was used originally.

In my test it works. Which version of Aspose.Pdf are you using?

My original code base was from
Word 3.2.2.0
Pdf 2.6.3.0
Pdf.Kit 1.6.1.0

I updated to the following DLLs, with no code changes, which caused the Unicode problem
Word 3.3.3.0
Pdf 2.8.2.0
Pdf.Kit 1.7.1.0

It's really strange. I tested with the same version and it worked. Can you please try going back to 2.6.2 and see if it can work?