Problems with pdftk fill_form utf8

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.

+5
source share
1 answer

pdftk (version 1.44) cannot process characters outside standard ASCII with filling out the FDF form. Someone tried changing pdftk so that multibyte characters supported Asian languages, but from the comments, I'm not sure if it really works.

http://blog.rubypdf.com/2007/07/19/pdftk-supports-chinese-path-now/

Matters Related:

FDF/XFDF PDF PHP utf-8

pdftk + xfdf + php

+2

All Articles