View Issue Details

IDProjectCategoryView StatusLast Update
0000754libextractorextractpublic2004-12-25 15:56
Reporterkeichwa Assigned ToChristian Grothoff  
PrioritynormalSeveritymajorReproducibilityalways
Status closedResolutionfixed 
Summary0000754: extracting non-ascii PDF info
DescriptionPDF info is allowed to be utf8 or UTF-16 encoded.
extract does not seem the output encoding right if used from an UTF-8 terminal.

For testing you may use http://www.gasl.org/refbib/Verne__Gruener_Strahl.pdf
Additional InformationMike FABIAN and Takashi Iwai fixed this problem for pdfinfo
ftp://ftp.suse.com/pub/projects/m17n/9.1/i586/xpdf-3.00-64.17.i586.rpm
resp. source:
ftp://ftp.suse.com/pub/projects/m17n/9.1/src/xpdf-3.00-64.17.src.rpm
TagsNo tags attached.

Activities

Christian Grothoff

2004-08-30 04:44

manager   ~0001868

libextractor's PDF plugin is based on xpdf 0.93, so yes, we're likely
to have inherited a lot of problems right there. Is this bug fixed in
the main xpdf tree or only in a SuSE-RPM patch?

keichwa

2004-08-30 05:50

reporter   ~0001869

I don't know whether the bug is already fixed upstream, sorry.
Turning xpdf into a library would be a good thing (maybe, there is already work in progress to make this happen?).

Christian Grothoff

2004-10-05 14:35

manager   ~0001919

Stupid question: how do I reproduce this bug? The output looks fine in my console. The reason is probably that my console is not a UTF-8 terminal. How do I switch into UTF-8 mode!?

Christian Grothoff

2004-10-07 13:59

manager   ~0001920

Karl Eichwalder <ke@gnu.franken.de> replied:

cat ~/bin/uxterm
#!/bin/bash

export LANG=de_DE.UTF-8
xterm -fn '-Misc-Fixed-Medium-R-Normal--18-120-100-100-C-90-ISO10646-1' \
      -geom 80x40 -T 'xterm UTF-8' $*

Christian Grothoff

2004-12-25 13:53

manager   ~0001974

Ok, this is fixed in my code now -- finally. However, if you have some PDF documents that use unicode to encode meta-data (or other documents that do not use ISO-8859-1), I'd love to get my hands on them to do some extra testing.

Issue History

Date Modified Username Field Change
2004-08-30 04:30 keichwa New Issue
2004-08-30 04:44 Christian Grothoff Note Added: 0001868
2004-08-30 04:44 Christian Grothoff Status new => acknowledged
2004-08-30 05:50 keichwa Note Added: 0001869
2004-10-05 12:21 Christian Grothoff Status acknowledged => assigned
2004-10-05 12:21 Christian Grothoff Assigned To => Christian Grothoff
2004-10-05 14:35 Christian Grothoff Note Added: 0001919
2004-10-07 13:59 Christian Grothoff Note Added: 0001920
2004-12-25 13:53 Christian Grothoff Status assigned => resolved
2004-12-25 13:53 Christian Grothoff Resolution open => fixed
2004-12-25 13:53 Christian Grothoff Note Added: 0001974
2004-12-25 15:56 Christian Grothoff Status resolved => closed