Question

I am using PDFTK to flatten a PDF with PHP. Problem is that all special characters (É,è,à, etc.) disappear once flattened. Tried UTF-8, unicode chars, htmlentities, etc., it's all the same as a result.

Therefore, I would like to solve PDFTK issue OR use another script to achieve this task.

Était-ce utile?

La solution

It appears that the font set for all fields was causing the problem. If you run into that kind of problem and you're sure about your encoding, try another font, the one you use may be corrupted like in my case.

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top