Commit 31db6919 authored by Nicolas Delaby's avatar Nicolas Delaby

Even if manpage of pdftotext mention output encoding is by default utf-8,

It might happen that sometimes another codec is used.
So hardcode output encoding format.



git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@40927 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 459e8853
......@@ -22,7 +22,7 @@ class pdf_to_text(subprocesstransform):
__version__ = '2004-07-02.01'
binaryName = "pdftotext"
binaryArgs = "-layout -nopgbrk %(infile)s -"
binaryArgs = "-enc UTF-8 -layout -nopgbrk %(infile)s -"
useStdin = True
class old_pdf_to_text(commandtransform):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment