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

mime type for CSV files incorrectly detected as text/plain

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.5, 1.6
    • 1.6
    • mime
    • 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. velocity.csv
          0.7 kB
          Kaijian Xu
        2. foo.csv
          0.1 kB
          Kaijian Xu
        3. CDEC_WEATHER_2010_03_02
          8 kB
          Kaijian Xu

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: