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

Degrade gracefully when juniversalchardet not present

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 1.3
    • 1.4
    • parser
    • None

    Description

      The UniversalEncodingDetector class used by TXTParser depends on the presence of the juniversalchardet library. The detector tries to fail gracefully when the library is not present by catching unexpected exceptions, but in fact that case leads to a LinkageError that is not caught by the current code.

      Attachments

        Activity

          People

            jukkaz Jukka Zitting
            jukkaz Jukka Zitting
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: