The problem is still there. If the detection fails on a file, then some
users WILL NOT BE ABLE to download the file whatever they do, since
text/plain is just text/plain and as such triggers automatic translation
of newlines and other nice things that are very bad when applied to
binary files.
--- Henrik Nordstr�m Trevor Paquette wrote: > Simple, yet will solve 95% of all the files out there. I have used this before > in trying to determine if a file is binary or not, and I have only had it fail > twice. I set 'X' to the first 256 bytes of the file. > > Can do?Received on Tue Feb 25 1997 - 14:18:28 MST
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:34:32 MST