commit 31f0f0d21001deac3b36705bbeb53d38b293cffb
parent 2d43518ef29ef70c8527e8d0fb795040e42efe89
Author: Dan Stillman <dstillman@zotero.org>
Date: Wed, 31 Jan 2018 05:34:22 -0500
Fix "Retrieve Metadata for PDF" with bundled PDF tools
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/chrome/content/zotero/recognizePDF.js b/chrome/content/zotero/recognizePDF.js
@@ -143,7 +143,7 @@ var Zotero_RecognizePDF = new function() {
}
var {exec, args} = Zotero.Fulltext.getPDFConverterExecAndArgs();
- args.push('-enc', 'UTF-8', '-nopgbrk', '-layout', '-l', pages, file.path, cacheFile.path);
+ args.push('-nopgbrk', '-layout', '-l', pages, file.path, cacheFile.path);
Zotero.debug("RecognizePDF: Running " + exec.path + " " + args.map(arg => "'" + arg + "'").join(" "));