From 31f0f0d21001deac3b36705bbeb53d38b293cffb Mon Sep 17 00:00:00 2001 From: Dan Stillman Date: Wed, 31 Jan 2018 05:34:22 -0500 Subject: [PATCH] Fix "Retrieve Metadata for PDF" with bundled PDF tools --- chrome/content/zotero/recognizePDF.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chrome/content/zotero/recognizePDF.js b/chrome/content/zotero/recognizePDF.js index 069bd4a6f..e56f8cd95 100644 --- 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(" "));