You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Andreas Lehmkühler (JIRA)" <ji...@apache.org> on 2013/05/07 20:33:16 UTC

[jira] [Commented] (PDFBOX-1405) Non-Ascii chars are not decoded correctly by pdfbox but works fine with pdftotext

    [ https://issues.apache.org/jira/browse/PDFBOX-1405?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13651152#comment-13651152 ] 

Andreas Lehmkühler commented on PDFBOX-1405:
--------------------------------------------

I can confirm that PDFBox can't extract some of the characters, but adobe can't extract them too. I gave pdftotext a try as Joern claimed it's working. And what should I say it works. So maybe pdftotext should be our reference implementation when it comes to text extraction ?
                
> Non-Ascii chars are not decoded correctly by pdfbox but works fine with pdftotext
> ---------------------------------------------------------------------------------
>
>                 Key: PDFBOX-1405
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-1405
>             Project: PDFBox
>          Issue Type: Bug
>          Components: Text extraction
>    Affects Versions: 1.7.1
>            Reporter: Joern Kottmann
>
> In one of my PDFs mostly non-ascii chars are not decoded correctly. The text extraction on the PDF works fine with other tools such as pdftotext and it appears to me that it is a bug that it does not work with pdfbox.
> The file was produced with:
> Acrobat Distiller 3.0 for Power Macinthosh
> To reproduce the issue use the following command:
> java -jar pdfbox-app-1.7.1.jar ExtractText -debug c1051802.pdf
> The file can be downloaded from here:
> http://www.etat.lu/memorial/1998/C/Pdf/c1051802.pdf
> Please let me know if you need any further information.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira