Possible Duplicate:
Flatten FDF / XFDF forms to PDF in PHP with utf-8 characters
I am using pdftk to fill template pdf with data from fdf. Data has correct utf-8 characters, but when I use fill_form, resulting pdf file has formating errors. (I am NOT using flatten
)
I have problems with letters like š
, đ
, č
, ć
, ž
.
Thanks.
UPDATE My solution
In the end, I gave up on pdftk, I ended up using fpfd, to be more precise, I used this script. I had couple of problems here too, related to the pdf file. But I used pdftk to fix that pdf (as was suggested in the script itself), and in the end it helped me: it filled the pdf form I had with the characters without messing them up.