Support convert character

Hi support


I called rest api for create pdf from html file. But Aspose api can not convert a little characters . eg: hiện -> hi n, trọng -> tr ng... etc. It is seem that api can not convert utf-8 character

Please help me


Hi Dong,

Can you please share your input HTML for further investigation?

Best Regards,

Hi support


Please review file attachment. You should unzip it and convert html file to pdf. You will see a problem utf8 characters

Hi Dong,

I get the attached output at my end. Can you please confirm if you are getting the same output and also attach your expected output if your requirement is different?

Best Regards,

Hi support

output file is invalid. Please re-check

I tried test file html convert to pdf

Source file (GET): http://api.aspose.com/v1.1/storage/file/testfile.html?appSID=5b80ecb8-8ddc-4465-9a2d-27186bcbf79d&signature=K0sbrIYAOJhlR71aRcH2CShXZ9I

I tried convert html file to pdf by api (PUT): http://api.aspose.com/v1.1/pdf/result.pdf?templateFile=testfile.html&templateType=html&appSID=5b80ecb8-8ddc-4465-9a2d-27186bcbf79d&signature=pI3W6xQOToxsJNTFdTVpV2jEW%2B0

  • Result (GET):: http://api.aspose.com/v1.1/storage/file/result.pdf?appSID=5b80ecb8-8ddc-4465-9a2d-27186bcbf79d&signature=KbjtTh6vWj4Aw7Xm%2F%2B42DMOIQm8

Hi Dong,

I had used Aspose.Words API instead of Aspose.Pdf because Aspose.Words also supports this feature and result is better too.

Please try this example Convert Documents|Aspose Words Cloud Docs for HTML to PDF and let us know how it goes at your end.

Best Regards,