Re: Why file content sniffing sucks

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 24 Dec 2003, Fabio Gomes wrote:

> File type determination by content is crap. It's a misfeature. It is 
> completely unnecessary. Its benefits do not compensate its drawbacks:

The "right solution" might be to use file content as a fallback if the
file extension doesn't have a completely unambiguous meaning.

e.g.:
	For *.txt filenames, always treat them as text/plain
	For a 'README' filename, guess based on content.

-- Elliot
At the School of Hard Knocks, tuition is always high.
_______________________________________________
gnome-list mailing list
gnome-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gnome-list

[Index of Archives]     [Fedora Desktop]     [Trinity Users]     [KDE]     [Gimp]     [Yosemite News]

  Powered by Linux