jkraemer / pdf-forms

Fill out PDF forms with pdftk (http://www.accesspdf.com/pdftk/).
MIT License
287 stars 73 forks source link

Accented letters #57

Closed porelli closed 7 years ago

porelli commented 8 years ago

When I try to fill forms using some accented letters (à,ò, ecc...) these are missing from the PDF.

Rails 5.0.0.1 Ruby 2.3.1 pdf-forms 1.1.1

pdftk 2.02

pdf 1.6 generated with Acrobat DC

jkraemer commented 7 years ago

Usually this is just a font problem (embedded fonts in your PDF form do not contain those characters). Please run pdftk your_filled_out.pdf dump_data_fields_utf8 and check the FieldValue of the fields where you think characters are missing.

If they show up here, it's a problem with your PDF document since PDFTK filled in the value correctly. If they aren't there in the dump_data_fields_output, please re-open this issue and post a form and code snippet for me to reproduce.