You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My version of pdftk (3.0.2) has both a dump_data_fields and a dump_data_fields_utf8.
The former does not output accent correctly while the later does the job as expected.
Could/should it be exposed ?
Should the dump_data_fields python function use silently the dump_data_fields_utf8 command when available since in Python3 all string are unicode anyway ?
The text was updated successfully, but these errors were encountered:
+1
I ran into this issue when running pdftk-java in a debian docker container. Basically, German umlaut characters and other special unicode characters are simply replaced by a "?". However, if I use cmd = f'{pypdftk.PDFTK_PATH} debug_filled.pdf dump_data_fields_utf8' then also p = pypdftk.check_output(cmd, shell=True) has mainly the expected output (correct unicode characters).
I am saying mainly because I noticed that multiline FieldValues are currently unsupported. I will open a separate issue for this (created issue #43 )
My version of pdftk (3.0.2) has both a dump_data_fields and a dump_data_fields_utf8.
The former does not output accent correctly while the later does the job as expected.
Could/should it be exposed ?
Should the dump_data_fields python function use silently the dump_data_fields_utf8 command when available since in Python3 all string are unicode anyway ?
The text was updated successfully, but these errors were encountered: