lua-users home
lua-l archive

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


Besides that sample size (256, 512...), I would specially check chars lower than 0x20, except, of cource, CR and LF. I think when someone is willing to determine if a file is binary or not, he or she is more interested to know if the file contains NULL. Don't they?

--rb