Well, it's been a total failure

retard re at tard.com.invalid
Wed Sep 15 14:01:50 PDT 2010


Wed, 15 Sep 2010 22:35:27 +0200, Jérôme M. Berger wrote:

> Nick Sabalausky wrote:
>> "Jonathan M Davis" <jmdavisProg at gmx.com> wrote in message
>> news:mailman.225.1284568096.858.digitalmars-d at puremagic.com...
>>> If you're on a non-Windows system, the mime-type becomes far more
>>> important than
>>> the extension. Most programs in Linux (and I believe MacOS X as well)
>>> don't care
>>> about the extension. They just look at the mime type. Extensions
>>> become almost
>>> entirely a thing for the user. So, whether your file is useable
>>> becomes more of
>>> an issue of known mime type than known extension. Still, you don't
>>> generally
>>> want to just be making up extensions.
>>>
>>>
>> I didn't think unix file systems had a concept of mime type.
>> 
> 	It doesn't, but Unix tools use the file contents to determine the
> mime type and then choose the app associated to the mime type.

Unix tools?


More information about the Digitalmars-d mailing list