Ticket #383: abiword.patch
File abiword.patch, 457 bytes (added by , 15 years ago) |
---|
-
.cc
old new 330 330 // It's probably best to index the document even if this fails. 331 331 } 332 332 } else if (mimetype == "application/msword") { 333 string cmd = "a ntiword -mUTF-8.txt" + shell_protect(file);333 string cmd = "abiword --to=txt --to-name=fd://1 " + shell_protect(file); 334 334 try { 335 335 dump = stdout_to_string(cmd); 336 336 } catch (ReadError) {