We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

DOCX to PDF conversion issue with UTF8-Encoding using .NET

Hello,

we have a problem while saving a document with aspose.words to PDF with UTF-8 special signs from croatia. If i save the same document to to DOCX, the encoding is working.

PDF:
grafik.png (46.9 KB)

DOCX:
grafik.jpg (48.3 KB)

The code i’m using is:
grafik.png (57.2 KB)

Do you know what is wrong here?

Regards

@qhaut

Please ZIP and attach your input Word document here for testing. We will investigate the issue and provide you more information on it.

Hello,

thanks for the reply.

Here is the zip with the input.docx and the output.pdf with the missing utf-8 encoding:
sample.zip (26.0 KB)

I’m using aspose.words 19.6.
I hope you can find the reason for this error. Thanks!

Regards

@qhaut

Your issue has been logged in our issue tracking system as WORDSNET-20639 . You will be notified via this forum thread once this issue is resolved.

We apologize for your inconvenience.

Hello,

i found out that the font Leelawadee is the problem. With Calibry/Arial/… this is working.
But also with embedding the font this is still not working with Leelawadee.

Regards

@qhaut

Yes, this issue is related to font Leelawadee. Could you please ZIP and attach the font ‘Leelawadee’ here for further testing?

The issues you have found earlier (filed as WORDSNET-20639) have been fixed in this Aspose.Words for .NET 20.8 update and this Aspose.Words for Java 20.8 update.