Xpdf MediaFilter: generate UTF-8 text, and improve error reporting
------------------------------------------------------------------
Key: DS-412
URL: http://jira.dspace.org/jira/browse/DS-412
Project: DSpace 1.x
Issue Type: Improvement
Components: DSpace API
Reporter: Larry Stone
Assignee: Larry Stone
Priority: Trivial
Fix For: 1.6.0
Attachments: xpdf2text-diff.txt
This patch makes 2 unrelated improvements:
1. Add the "-enc UTF-8" option to the pdftotext command to produce Unicode
text; the default is Latin-1. This has been tested successfully with Greek
text.
2. Improve error reporting by testing status value. E.g. pdftotext returns 3
when it fails because of a permission problem in the source PDF, which is
useful information that leads straight to a diagnosis.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.dspace.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
------------------------------------------------------------------------------
Return on Information:
Google Enterprise Search pays you back
Get the facts.
http://p.sf.net/sfu/google-dev2dev
_______________________________________________
Dspace-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-devel