Forums / Setup & design / PDF Generation and UTF8 Issue

PDF Generation and UTF8 Issue

Author Message

Softriva .com

Friday 26 January 2007 8:43:00 am

I know that there is in ezp about the pdf and utf8 system. I tried all the workarounds and patches with no help.

My client site is multilingual site. It uses Arabic charset. Usually, utf8 does it ok so the whole site is a utf8. When we tried to generate pdf, the look weird. I tried

http://issues.ez.no/6574

and

http://issues.ez.no/6574

but still no help.

I am sure all people whom language (Hebrew, Japaneses, etc) does not use the Latin characters has/have/had this issue.

Can any body help in how to generate pdf from an utf8 (Arabic) content?

Christophe Berthelé

Saturday 27 January 2007 2:55:36 pm

Hi,

welcome into the club !

Like many others I'm in the same situation than you and I can't say that the "that would modify to many things in the code" seen as answer to the associated bugs fits to me, although I admit that the pdf generation code is complex... :-(

I tried the suggested patch in issue 6574 (with line numbers adapted for 3.9.0) with not luck and even worst, troubles : some unexpected tags appeared in the generated pdf like "non impactC:callSpace>:" instead of "non impacté". However some accents are shown. Starting to be too empiric for me...

So for now, as my users complain, I plan to revert to ISO-8859-1 (not sure that will be easy)

Cheers
Berthy