Closed elmatou closed 13 years ago
Pdftk v 1.44 fully support utf-8 encoding we should too !
class Wrapper def ut8_support? pdftk_version.to_f >= 1.44 end def fields(template_path) dump_cmd = 'dump_data_fields' dump_cmd << '_utf8' if ut8_support? unless @all_fields field_output = call_pdftk(template_path, dump_cmd) .... end end
Done on my specific branch : https://github.com/elmatou/pdftk_forms/tree/utf8 I'll pull it later.
Done and merged
Pdftk v 1.44 fully support utf-8 encoding we should too !