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

Unexpected charset IBM424_rtl detected for utf_8 file by CharsetDetector

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.1.0
    • detector, parser
    • None

    Description

      Hi,
      The CharsetDetector detects the wrong charset for a file as IBM424_rtl. 
      Resulting in exception 

      java.nio.charset.UnsupportedCharsetException: IBM424_rtl 17 at java.nio.charset.Charset.forName(Charset.java:531)

      I see there is also an existing ticket with the same issue thats not been fixed.

      https://issues.apache.org/jira/browse/TIKA-2396
      Please suggest the changes to fix this. 

      Versions being used:

      apache-core - 1.20
      apache-parsers-1.20

      Thanks

      Attachments

        Issue Links

          Activity

            People

              tallison Tim Allison
              crajappa Chaitra Rajappa
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: