4 ms·
does anyone know if this is reliable for guessing file type? how would you code a file type guesser using this techinque? perhaps relative distributions would
by etherealG 15y ago
does anyone know if this is reliable for guessing file type? how would you code a file type guesser using this techinque?
perhaps relative distributions would be close enough to the "general pattern" for a particular file type to be guessed?
- sp332 15y agoIt's not reliable, but it could work for certain filetypes. Notepad uses it for Unicode detection. Try putting "this app can break" into Notepad, save it and reopen it :) http://blogs.msdn.com/b/oldnewthing/archive/2004/03/24/95235.aspx http://blogs.msdn.com/b/oldnewthing/archive/2004/03/24/95235...