Possible duplicate:
Form FDF / XFDF forms in PDF to PHP using utf-8 characters
I use pdftk to populate a pdf template with data from fdf. The data has the correct utf-8 characters, but when I use fill_form, the resulting pdf file has errors in formation. (I'm NOT using flatten)
I have problems with such characters as š, đ, č, ć, ž.
Thank.
UPDATE
My solution
In the end, I gave up pdftk, I ended up using fpfd , or rather, I used this script. Here I had a few problems with the PDF file. But I used pdftk to fix this pdf (as suggested in the script itself), and in the end it helped me: it filled in the pdf form that I had with the characters without messing them up.
source
share