simplemagic icon indicating copy to clipboard operation
simplemagic copied to clipboard

XLS and CSV files not recognized

Open guillaumefgn opened this issue 7 years ago • 3 comments

Hello,

I tried to recognize several mime types, including XLS and CSV. Here are the results I have:

csv - NULL doc - application/msword docx - application/vnd.openxmlformats-officedocument.wordprocessingml.document xls - NULL xlsx - application/vnd.openxmlformats-officedocument.spreadsheetml.sheet xml - application/xml

Is it a bug that CSV & XLS files are not recognized? Can I do something to recognized those mime types?

Thanks!

guillaumefgn avatar Mar 02 '18 07:03 guillaumefgn

Wait are you talking about mime types or file extensions? csv and xls file extensions should be supported. What is missing right now from the library is next file handling and docx zip file processing both of which are special cases unfortunately.

j256 avatar Jul 06 '18 21:07 j256

Maybe duplicate of #38

j256 avatar Jul 12 '18 13:07 j256

Hi,

I was wondering if this was fixed or still an issue as I am using version 1.16 en csv extension is returing null. Or maybe there is a work around?

Cheers!

Coos-Wolff avatar May 31 '21 07:05 Coos-Wolff