[
https://issues.apache.org/jira/browse/TIKA-2711?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16605681#comment-16605681
]
Ichbiah commented on TIKA-2711:
-------------------------------
I have no control on the files that will be submitted by my software users to
Tika via my software.
So, no I will not know the encoding and I can't tell my users to use "proper
apostrophes". :)
I understand that Tika is left to guess in that case. So my question is, can
Tika be improved to make a better guess in this case.
Otherwise I think you can close the issue.
> When parsing a UNIX text file apostrophes are rendered as ?
> -----------------------------------------------------------
>
> Key: TIKA-2711
> URL: https://issues.apache.org/jira/browse/TIKA-2711
> Project: Tika
> Issue Type: Bug
> Affects Versions: 1.18
> Environment: Windows 10
> Reporter: Ichbiah
> Priority: Minor
> Fix For: 1.19
>
> Attachments: long_text_dos.txt, long_text_unix.txt, petit_dos.txt,
> petit_unix.txt
>
> Original Estimate: 12h
> Remaining Estimate: 12h
>
> I have a small text file in two versions:
> * a dos version of the file
> * a unix version of the file
> Both contain the same text below:
> La politique macroéconomique cesse officiellement d’être
> l’alpha et l’oméga de la lutte contre le chômage.
> When I parse them using the tika-app.jar, the text is correctly "extracted"
> from the DOS version of the file. For the UNIX version of the file the
> apostrophes are falsely rendered as question marks.
>
>
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)