Fixes #957, PDFs with extended characters aren't indexed

Now fixed for real. Required a function change on our end.
This commit is contained in:
Dan Stillman 2011-02-21 09:04:49 +00:00
parent be2e5d680f
commit ff93acd5f5

View file

@ -429,7 +429,12 @@ Zotero.Fulltext = new function(){
var args = [file.path, infoFile.path];
try {
proc.run(true, args, args.length);
if (!Zotero.isFx36) {
proc.runw(true, args, args.length);
}
else {
proc.run(true, args, args.length);
}
var totalPages = this.getTotalPagesFromFile(itemID);
}
catch (e) {
@ -460,7 +465,12 @@ Zotero.Fulltext = new function(){
}
args.push(file.path, cacheFile.path);
try {
proc.run(true, args, args.length);
if (!Zotero.isFx36) {
proc.runw(true, args, args.length);
}
else {
proc.run(true, args, args.length);
}
}
catch (e) {
Zotero.debug("Error running pdftotext");