Jump to content

UTF-8 w/TCPDF


Recommended Posts

Hi.
I know that there are lots of posts regarding this issue but it seems that on every single roll out, no matter how small revision or subrevision or release is, Prestashop is changing something everywhere.

My translations from 1.3.2 don't work 100% on 1.3.3. My translations from 1.3.1 works only cca 10% or so which I find ridiculous since it is still Prestashop 1.3.

Now it seems that similar issue is affecting TCPDF. If you have solution for 1.3.2 you can be pretty sure that it won't work on 1.3.3. Unfortunately I am dealing with 1.3.3. version and none of tens of forum posts relate to that version of Prstashop so I cannot find a way to use UTF-8 characters in my PDFs.

Mind you that we're in year 2011 and still have to deal with codepage issues.

If anyone can help me out for setting TCPDF in Presta v 1.3.3.0 I will much appreciate.

Cheers.

Link to comment
Share on other sites

  • 3 weeks later...
  • 2 weeks later...
  • 1 month later...

hey people, i'm still struggling with certain symbols as ť č í ....

over the last days I've gathered all the available knowledge from this forum and managed to get TCPDF "working", actually not giving me any errors, printing PDFs but still without those special characters - some fonts print out "?" instead of "č" for instance, while others keep me looking sadly on the 257th exported PDF with just space instead of the particular special character.

I'm attaching all the files I've modified, feel free to use them & edit them. I'd appreciate your feedback whether it works for you or not, where by "it" I mean special characters, also please state your language and special characters which are working and those, which are not.

These files were imported from PS 1.4.0.17, which I'm using right now.

Everybody interested in this problem can reach me here or at Freenode, #prestashop.

I believe we lately manage to get this tcpdf vs. utf8 tragedy working as soon as possible.

PS: Please backup all your current files (which you're planning to overwrite) if you didn't yet, as I don't want to be held responsible for any committed suicides after debugging... ;)

files.zip

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...