UTF-8 ?

asak - November 3, 2007 - 16:47
Project:Table Export
Version:5.x-1.3-2
Component:Code
Category:bug report
Priority:normal
Assigned:asak
Status:postponed
Description

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 :)

#1

tjholowaychuk - November 4, 2007 - 18:16

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

#2

asak - November 7, 2007 - 16:38

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.

#3

tjholowaychuk - November 7, 2007 - 20:07
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.

#4

abqaria - February 29, 2008 - 11:21
Version:5.x-1.1» 5.x-1.3-2

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

#5

tjholowaychuk - February 29, 2008 - 16:42
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.

 
 

Drupal is a registered trademark of Dries Buytaert.