Free Support Forum - groupdocs.com

Error converting RTL html to PDF


#1

Hi,
we are trying to convert an html file which contains hebrew letters (RTL format) in UTF8 and the output pdf file comes out with the letters being reversed,
for example if in the html we had the word “שלום” in the output pdf file we see “םולש”.

can you help?
Thanks,
Shahar.


#2

@shaharh,

Thank you for your inquiry.
In order to further investigate this issue we need following details from you:

  • API version you are evaluating
  • Problematic document
  • Sample code

#3

htmlDannyutf8.html.pdf (110.5 KB)
htmlDannyutf8.zip (1.6 KB)

Hi,
I attached the problematic file (html inside the zip) and the output pdf file.
According to the pom.xml file, the groupdocs-conversion is at version 18.7.

About the code, I’m using the sample JAVA sample code:
Conversion.convertToPdfAsFilePath(“htmlDannyutf8.html”);

Thanks,
Shahar.


#4

@shaharh,

Thanks for sharing the required files.
This issue is reproduced at our end. Hence, it has been logged in our internal issue tracking system with ID : CONVERSIONJAVA-541. We are investigating it. You’ll be notified as we have any further update.


#5

Hi, any news on this?
Thanks,
Shahar.


#6

@shaharh,

We are still investigating this issue. We’ll update you as we have any update.