Public bug reported: Binary package hint: pdftk
The generate_fdf tool outputs field names and field values in what appears to be UTF-16 format. To verify: $ wget http://koivi.com/fill-pdf-form-fields/Project2.pdf $ pdftk Project2.pdf generate_fdf output Project2.fdf $ less Project2.fdf (The "may be a binary file" warning will display.) The field titles ("Text1", "Text2", and so on) are self-contained UTF-16 strings, with their own Byte Order Marks (FE FF) at the beginning. Additionally, the field values consist only of a bare BOM. This makes it very difficult to manually edit the fields; it also appears to be unnecessary, since entering plain ASCII text in the fields generates the same output as entering UTF-16 text when merging the FDF file back in with fill_form. I am running pdftk 1.40-2ubuntu3 on Ubuntu Dapper. ** Affects: pdftk (Ubuntu) Importance: Undecided Status: New ** Affects: pdftk (Debian) Importance: Unknown Status: Unknown ** Bug watch added: Debian Bug tracker #421343 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=421343 ** Also affects: pdftk (Debian) via http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=421343 Importance: Unknown Status: Unknown ** Description changed: Binary package hint: pdftk The generate_fdf tool outputs field names and field values in what appears to be UTF-16 format. To verify: $ wget http://koivi.com/fill-pdf-form-fields/Project2.pdf $ pdftk Project2.pdf generate_fdf output Project2.fdf $ less Project2.fdf - (The "may be a binary file" will show.) The field titles ("Text1", - "Text2", and so on) are self-contained UTF-16 strings, with their own - Byte Order Marks (FE FF) at the beginning. Additionally, the field - values consist only of a bare BOM. + (The "may be a binary file" warning will display.) The field titles + ("Text1", "Text2", and so on) are self-contained UTF-16 strings, with + their own Byte Order Marks (FE FF) at the beginning. Additionally, the + field values consist only of a bare BOM. This makes it very difficult to manually edit the fields; it also appears to be unnecessary, since entering plain ASCII text in the fields generates the same output as entering UTF-16 text when merging the FDF file back in with fill_form. I am running pdftk 1.40-2ubuntu3 on Ubuntu Dapper. -- generate_fdf extracts fields in UTF-16 format https://bugs.launchpad.net/bugs/192398 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs