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

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

Try to use the following to force PDFBox to use utf-8 as output encoding:

PDFTextStripper myStripper = new PDFTextStripper("utf-8"); 

> Wrong extracted text using PDFBox 1.4
> -------------------------------------
>
>                 Key: PDFBOX-938
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-938
>             Project: PDFBox
>          Issue Type: Bug
>          Components: Text extraction
>    Affects Versions: 1.4.0
>            Reporter: Hesham
>         Attachments: Wrong extracted f char.pdf
>
>
> Hello ,
>  
> I am using PDFBox v1.4 to extract some text from a PDF, but some words are 
> not extracted right.
> For example words :
> "Nefteiugansk" is read: "Nežeiugansk"
> "fiancee" is read: "Äancée"
> "first" is read: "Ärst"
>  
> Please check the attached file to test this.
> Best regards

-- 
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