Uploaded image for project: 'Tika'
  1. Tika
  2. TIKA-2396

Unexpected charset detected for a plain text file by CharsetDetector

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: detector, parser
    • Labels:
      None

      Description

      Hi,

      The CharsetDetector seems to be incorrectly detecting IBM424_rtl charset with maximum probability for the text file attached - test_Asset.txt . ISO-8859-9 has the second-best confidence value which ideally should have first in the list.
      Versions being used:

      apache-core - 1.14.0
      apache-parsers-1.14.0

      Thanks

        Attachments

        1. test_Asset.txt
          0.0 kB
          Gaurav Gupta

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              gaurav17 Gaurav Gupta
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: