[ 
https://issues.apache.org/jira/browse/PDFBOX-728?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Andreas Lehmkühler resolved PDFBOX-728.
---------------------------------------
       Resolution: Fixed
    Fix Version/s: 2.0.0

I've checked theoutput of the current trunk and it looks good. It's not 100% 
perfect as for some of the characters the correct mapping is missing. But the 
result is better than the one provide by the acrobat reader using copy&paste.

Set to resoled

> Text extracted from a TeX-created PDF file comes in some form of hex encoding
> -----------------------------------------------------------------------------
>
>                 Key: PDFBOX-728
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-728
>             Project: PDFBox
>          Issue Type: Bug
>          Components: Text extraction
>    Affects Versions: 1.1.0
>         Environment: Mac OS X 10.6.3, using org.apache.pdfbox.ExtractText 
> -encoding UTF-8
>            Reporter: Thomas Fischer
>            Assignee: Andreas Lehmkühler
>            Priority: Minor
>             Fix For: 2.0.0
>
>         Attachments: wias_preprints_1401-v1.2.0SNAPSHOT.txt, 
> wias_preprints_1401.pdf, wias_preprints_1401.txt, 
> wias_preprints_1401_r944875.txt
>
>
> The text in this example is extracted essentially correctly, but presented in 
> a hex-encoded form, probably interspersed with some non encoded characters as 
> in the following example:
> x54x6f x69x6ex63x6fx72x70x6fx72x61x74x65 x74x68x65 x65x6cx61x73x74x69x63 
> x70x72x6fx70x65x72x74x69x65x73 x6fx66 x74x68x65 x6dx61x74x65x72x69x61x6cx2c 
> x77x65 x6ex65x65x64 x74x6f x69x6ex74x72x6fx64x75x63x65 x74x68x65 
> x64x65x66x6fx72x2d
> x6dx61x74x69x6fx6e x74x65x6ex73x6fx72
> F(X, t) = ∂x∂X (X, t).
> A Perl command like
> s/x([\da-f]{2})/chr(hex($1))/eg;
> will usually reveal a correct translation, although certain characters may be 
> off, I had to add e.g.
> s/ÿ/ß/g;
>  



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to