Standard UNIX tools (file command) return text/x-c++
. This is not the greatest result possible.
On Windows urlmon.dll/FindMimeFromData returns text/plain
. Looks like Windows never got any decent file type recognition library.
Is there something more precise than text/plain
?