tika-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kaijian Xu (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (TIKA-1335) mime type for CSV files incorrectly detected as text/plain
Date Fri, 13 Jun 2014 00:05:02 GMT

     [ https://issues.apache.org/jira/browse/TIKA-1335?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Kaijian Xu updated TIKA-1335:
-----------------------------

    Attachment: velocity.csv
                CDEC_WEATHER_2010_03_02
                foo.csv

> mime type for CSV files incorrectly detected as text/plain
> ----------------------------------------------------------
>
>                 Key: TIKA-1335
>                 URL: https://issues.apache.org/jira/browse/TIKA-1335
>             Project: Tika
>          Issue Type: Bug
>          Components: mime
>    Affects Versions: 1.5, 1.6
>            Reporter: Kaijian Xu
>         Attachments: CDEC_WEATHER_2010_03_02, foo.csv, velocity.csv
>
>
> 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.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message