Antoine Pitrou <pit...@free.fr> added the comment: > I'd use a more strict rule: it should decode as UTF-8, and should only > include the standard whitespace control characters.
I think this discussion of heuristics distracts us from the original (simple) request: that files that don't belong to a recognized file type get tagged as text/plain rather than application/octet-stream. This would go a long way towards making day-to-day use of the tracker more pleasant, and is probably much simpler than deciding on a content-guessing heuristic. _______________________________________________________ PSF Meta Tracker <metatrac...@psf.upfronthosting.co.za> <http://psf.upfronthosting.co.za/roundup/meta/issue381> _______________________________________________________ _______________________________________________ Tracker-discuss mailing list Tracker-discuss@python.org http://mail.python.org/mailman/listinfo/tracker-discuss