Jump to content

PDF problem : encoding?


Recommended Posts

If you need any language with special characters, not present in the default encoding, you need to change fonts and make appopriate changes in the pdf.php. Presta does not work with UTF-8 in .pdf. This was discussed several times before.

http://www.prestashop.com/forums/viewthread/3480/__/_lang____pdf
http://www.prestashop.com/forums/viewthread/3161/old_bug_report_forum/generating_pdf_invoices
http://www.prestashop.com/forums/viewthread/830/P60/

Last time Presta team responded
02 June 2008 12:02 PM, Philippe Sang writes:

Yes we are aware about this problem and working on for RC4.


However, as the problem is still present in the released version, the are not so many chances, that it can be fixed in near future. So, I fix it, using ufpdf module. More details:

http://www.prestashop.com/forums/viewthread/3480/P15/__/_lang____pdf

Now Presta can print documents in utf-8 without problem and we did not need hassle with encoding setup (especially, if you need more than one language in the shop with incompatible encodings – CP1251 and CP1257 for example).
Link to comment
Share on other sites

×
×
  • Create New...