[
https://issues.apache.org/jira/browse/TIKA-389?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12965470#action_12965470
]
Michel Tremblay commented on TIKA-389:
--------------------------------------
I have the same problem here using the command line utility.
Text extraction is perfect, but metadata extraction return something like :
Author oauq(ÜXÆ X+üDŶNFðzÀï
#cc:¼ÝL˺plÑÐ{Ê
Content-Length 33087
Content-Type application/pdf
Keywords cd|m>ÛÖèI7nÏVÁ×ϽJ[¿nÍò'|*iìÈ GäÃ4È?
creator ckiw9ÉıÉzW`ØPÍÏõE¿}Ã.
producer ckiw9ÉÄ¥äOngÑG×êàÀ'ùï5|/
resourceName liste_plans_eau_algues_bleu_vert.pdf
title nahl>ÔÑ LveÎÐÉ¥^±bÇõ
.juiýÁ®ÉCèÛÜ4ô"~
xmpTPg NPages: 4
This happens with encrypted files (not password protected).
> Garbled metadata when dealing with encrypted PDF files.
> -------------------------------------------------------
>
> Key: TIKA-389
> URL: https://issues.apache.org/jira/browse/TIKA-389
> Project: Tika
> Issue Type: Bug
> Components: metadata, parser
> Affects Versions: 0.6
> Environment: Windows 7 64-bit
> Reporter: Gabriel Miklos
> Priority: Minor
>
> The code exhibiting this issue is very simple:
> InputStream input = new FileInputStream(file);
> ContentHandler textHandler = new BodyContentHandler();
> tikaParser.parse(input, textHandler, metadata);
> input.close();
> System.out.println(metadata);
> The output:
> title=?a???▬÷&▼??♂?ŢjK???ž?↑M?A→<═]1
> =╬\bK Author=═g?═?♦ Content-Type=application/pdf
> creator=?k?═?♦Ý`;Ý?)??/¶???Ě?3n
> Î☼46ËO
> Other than that, the extracted text is 100% correct.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.