The place for "I can't figure out how to..." questions.
3 posts • Page 1 of 1
- Posts: 2
- Joined: Tue Aug 08, 2006 2:46 pm
Can somebody explain me what's the difference between application/octet-stream and application/msword? What's better? Why mime-support is using application/msword, and why getID3() uses application/octet-stream instead?
- getID3() v1 developer
- Posts: 1476
- Joined: Fri May 04, 2001 4:00 pm
- Are you a spambot?: no
- Location: Northern Ontario, Canada
"application/octet-stream" is the MIME way of saying "unknown binary data", which is usually handled by saving to disk rather than opening with an associated application. "application/msword" is specifically for Word documents (or at least document types that Word handles). getID3() does not differentiate between different types of Office documents (Word, Excel, PowerPoint, etc) so it just returns a generic "unknown" MIME type.