View Issue Details

IDProjectCategoryView StatusLast Update
0000754libextractorextractpublic2004-12-25 14: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 02: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 03: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 12: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 11: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 12: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 ModifiedUsernameFieldChange
2004-08-30 02:30keichwaNew Issue
2004-08-30 02:44Christian GrothoffNote Added: 0001868
2004-08-30 02:44Christian GrothoffStatusnew => acknowledged
2004-08-30 03:50keichwaNote Added: 0001869
2004-10-05 10:21Christian GrothoffStatusacknowledged => assigned
2004-10-05 10:21Christian GrothoffAssigned To => Christian Grothoff
2004-10-05 12:35Christian GrothoffNote Added: 0001919
2004-10-07 11:59Christian GrothoffNote Added: 0001920
2004-12-25 12:53Christian GrothoffStatusassigned => resolved
2004-12-25 12:53Christian GrothoffResolutionopen => fixed
2004-12-25 12:53Christian GrothoffNote Added: 0001974
2004-12-25 14:56Christian GrothoffStatusresolved => closed