I'm currently trying to fill a pdf form via command line (to be later able to execute this via php).
After some search, I find out that I can either use a fdf file or a xfdf file.
And with the command pdftk Test01.pdf fill_form fields2.xfdf output output.pdf flatten
It's working fine.
But if the xfdf or fdf file have a special chars (éàêĉ...), this char is simply not render.
Anyone have a idea?
I'm uploading a pdf demo, and my xfdf file for you to test
For some reason, I can't seem to be able to upload the xfdf file, since the file is quite simple, here the content
<?xml version="1.0" encoding="UTF-8"?> <xfdf xmlns="http://ns.adobe.com/xfdf/" xml:space="preserve"> <fields> <field name="Nom"> <value>alloééè\223</value> </field> </fields> <ids original="c7a58949ae24d48d53aa9ac2b92557f8" modified="1427398676" /> <f href="Test01.pdf" /> </xfdf>
I've tried multiple way to encode it, but none is working
Edited by Vaielab, 26 March 2015 - 11:50 AM.