Ticket UUID: | 4adb7c36a35d0c475f8e9bba24ec04984bd8ce2 | |||
Title: | TCL fileutil::magic::mimetype not recognising Microsoft documents or mp3 | |||
Type: | Bug | Version: | various | |
Submitter: | anonymous | Created on: | 2016-01-13 12:28:09 | |
Subsystem: | fileutil :: magic | Assigned To: | ||
Priority: | 5 Medium | Severity: | Important | |
Status: | Closed | Last Modified: | 2021-04-30 22:35:16 | |
Resolution: | Fixed | Closed By: | pooryorick | |
Closed on: | 2018-08-28 13:50:10 | |||
Description: |
I got directed here from a Stack Overflow question I raised https://stackoverflow.com/questions/34746759/tcl-fileutilmagicmimetype-not-recognising-microsoft-documents-or-mp3 Take an ordinary Microsoft Word .doc file and pass it to fileutil::magic::mimetype e.g. package require fileutil package require fileutil::magic::mimetype set result [fileutil::magic::mimetype "/tmp/test.doc"] It returns empty string. Same happens if you try mp3, wmv plus other Microsoft file formats (xls, ppt etc). In fact, the only file formats that seem to work well are images (png, gif, tiff etc) | |||
User Comments: |
pooryorick added on 2021-04-30 22:35:16:
Fix merged into trunk in [dc534f06ac538c46]. pooryorick added on 2018-08-28 13:50:10: Fixed in commit [48db90b95ba1a36b]. |
