Re: Why file content sniffing sucks
- From: Elliot Lee <sopwith redhat com>
- To: nautilus-list gnome org
- Cc: gnome-devel-list gnome org, gnome-list gnome org
- Subject: Re: Why file content sniffing sucks
- Date: Wed, 24 Dec 2003 13:20:02 -0500 (EST)
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.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]