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

mime type for CSV files incorrectly detected as text/plain

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.5, 1.6
    • Fix Version/s: 1.6
    • Component/s: mime
    • Labels:
      None

      Description

      Mime type autodetection returns "text/plain" for CSV files, for example:

      % tika -m foo.csv
      Content-Encoding: ISO-8859-1
      Content-Length: 78
      Content-Type: text/plain; charset=ISO-8859-1
      resourceName: foo.csv

      This occurs regardless of whether the filename has the appropriate *.csv extension or not.

        Attachments

        1. foo.csv
          0.1 kB
          Kaijian Xu
        2. CDEC_WEATHER_2010_03_02
          8 kB
          Kaijian Xu
        3. velocity.csv
          0.7 kB
          Kaijian Xu

          Issue Links

            Activity

              People

              • Assignee:
                chrismattmann Chris A. Mattmann
                Reporter:
                kxu Kaijian Xu
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: