Exported pdf of a Unicode hebrew text shows:

"הקבוצה ש×oe
הגר"

instead of:

הקבוצה של הגר

...I have no idea how to deal with stuff like this, and i know this is usually a hassle. I'll gladly test & comment back :)

Comments

tjholowaychuk’s picture

Thanks for the report, this is similar to another issue below with the pdf language output, im not overly fermiliar with coding with language support but perhaps all I need to do in this case is wrap the output portion of the pdf class with the t(); function

Im also thinking that the the plain text was possibly not using the t(); function where it is added to the theme_table function, but it could also be the html2pdf library. If you can figure out a patch let me know I will look into this

asak’s picture

From what i'm able to understand the html2pdf library does support RTL languages (iso-885906 for hebrew) - but does not support UTF-8 encoding. shame.

I am in no means capable of creating a patch, and as a matter of fact i tried to install one a few days ago but couldn't even manage to do that :)

I'm tracking...
thanks.

tjholowaychuk’s picture

Priority: Critical » Normal

Thank you for the contribution, unfortunatly I do not have time to research this at the moment but im certainly welcome to other users to provide patches or suggestions.

abqaria’s picture

Version: 5.x-1.1 » 5.x-1.3-2

i get the same characters when i try to export arabic ...

tjholowaychuk’s picture

Status: Active » Postponed

Unfortunatly im not very aware of the internal workings of html2fpdf and I have been looking for a better alternative to solve issues such as this and also to allow for greater customization.