Open Helias opened 3 years ago
I solved replacing in the code decode('utf-8')
with decode('ISO-8859-1')
, I don't know if it's good to replace it or may we can do a try / except and in the except we can put the decode('ISO-8859-1')
I made a Pull Request for this, hope you will appreciate it.
For me it's a bit dirty the try/except but it works locally, may it's a good temporary solution.
Running
pdfx file.pdf -v > output.txt
I get this issue:I guess it is related to some utf-8 codec, is there a way to solve it?
It should be related to this: https://github.com/metachris/pdfx/blob/master/pdfx/backends.py#L305