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

Giorgio Pettenati edited comment on PDFBOX-860 at 12/1/10 6:06 AM:
-------------------------------------------------------------------

Hi Martijn, 
I can confirm that after adding the dependency ICU4J 3.8 to my classpath the 
extraction of the text is correct. 
We attach a print of my system properties in the case could be of some use. 
With regard to the default encoding I must tell you that on my system is Cp1252 
which you can see on the print of the sysprop attached.
I still want to point out that the extraction problem does not occur on all PDF 
documents, but only with some. 
It may be that this particular document is badly coded, or in a different way 
than standard. 
Anyway thanks for your attention and your precious time.

Best regards
     Giorgio

      was (Author: giorgio11):
    Hi Martijn, 
I can confirm that after adding the dependency ICU4J 3.8 to my classpath the 
extraction of the text is correct. 
We attach a print of my system properties in the case could be of some use. 
I still want to point out that the extraction problem does not occur on all PDF 
documents, but only with some. 
It may be that this particular document is badly coded, or in a different way 
than standard. 
Anyway thanks for your attention and your precious time.

Best regards
     Giorgio
  
> 'fi' getting converted to '?'
> -----------------------------
>
>                 Key: PDFBOX-860
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-860
>             Project: PDFBox
>          Issue Type: Bug
>          Components: Text extraction
>    Affects Versions: 1.2.1
>         Environment: Solaris 10
>            Reporter: Saurabh Mehrotra
>         Attachments: INSI-SURVIVAL-GUIDE-4-JOURNALISTS.zip, new_evidence.zip, 
> new_evidence2.zip
>
>
> Hi
> I am trying to use PDF box 1.2.1 version to extract text from PDF files.
> The following issue is observed in the extracted text:
> 1. Combination of the characters 'fi' is converted to a '?'
> example:  first becomes ?rst
>                   classifier becomes classi?er
>                   find becomes ?nd
> Is this a known bug? Can some setting of the PDF box be turned of to prevent 
> this?
> Thanks & Regards
> Saurabh

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to