[ 
http://jira.dspace.org/jira/browse/DS-412?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=10928#action_10928
 ] 

Stuart Lewis commented on DS-412:
---------------------------------

stuartlewis: http://jira.dspace.org/jira/browse/DS-412  Xpdf MediaFilter: 
generate UTF-8 text, and improve error reporting
[09:37am] kshepherd: and i'll make some alternative templates available for 
those that need extra handling
[09:38am] stuartlewis: +1 - looks a useful patch
[09:38am] kshepherd: +1
[09:38am] richardrodgers: +1 seems low risk, have patch
[09:38am] kshepherd: UTF8 > Latin1 
[09:38am] kshepherd: especially for the text i work with 
[09:38am] lcs: fwiw, i've tested this patch in production, it's been fine, and 
picking out the encrypted pdfs is handy.
[09:38am] lcs: ok, i'll commit it.
[09:38am] stuartlewis: 3 x +1 - OK to commit

> 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

        

------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_______________________________________________
Dspace-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-devel

Reply via email to