View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0000018 | file | General | public | 2018-07-25 03:23 | 2018-08-01 08:51 |
Reporter | anonymous | Assigned To | christos | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Summary | 0000018: --mime-encoding reports a mangled string for .doc files | ||||
Description | Background in https://stackoverflow.com/a/45177322/113632 Calling --mime on a .doc file prints: $ file --mime /tmp/example.doc /tmp/example.doc: application/msword; charset=binary Which leads me to believe --mime-encoding should print "binary", but instead it prints "application/mswordbinary": $ file --mime-encoding /tmp/example.doc /tmp/example.doc: application/mswordbinary Which appears to be the concatenation of the type and the encoding. Experimenting with several other file types all print *just* their encoding (e.g. binary, us-ascii, etc.). | ||||
Steps To Reproduce | 1. Get a .doc file 2. Run `file --mime-encoding YOUR_FILE.doc` | ||||
Tags | No tags attached. | ||||
Date Modified | Username | Field | Change |
---|---|---|---|
2018-07-25 03:23 | anonymous | New Issue | |
2018-07-25 07:16 | christos | Assigned To | => christos |
2018-07-25 07:16 | christos | Status | new => assigned |
2018-07-25 07:16 | christos | Status | assigned => feedback |
2018-07-25 07:16 | christos | Note Added: 0000018 | |
2018-08-01 08:51 | christos | Status | feedback => resolved |
2018-08-01 08:51 | christos | Resolution | open => fixed |
2018-08-01 08:51 | christos | Note Added: 0000020 |