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

HtmlParser's content-type handling code needs to be more flexible

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 0.6
    • 0.6
    • None
    • None

    Description

      Some servers return a content-type response header that has the charset value in a non-standard position. For example:

      Content-Type: charset=utf-8; text/html

      The HtmlParser code that attempts to extract the charset needs to be more flexible.

      Attachments

        1. TIKA-350.patch
          3 kB
          Kenneth William Krugler

        Activity

          People

            jukkaz Jukka Zitting
            kkrugler Kenneth William Krugler
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: