Tika
  1. Tika
  2. TIKA-350

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

    Details

    • Type: Improvement Improvement
    • Status: Resolved
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 0.6
    • Fix Version/s: 0.6
    • Component/s: None
    • Labels:
      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.

      1. TIKA-350.patch
        3 kB
        Ken Krugler

        Activity

          People

          • Assignee:
            Jukka Zitting
            Reporter:
            Ken Krugler
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development