in reply to How to Determine a File's Character Code
As far as "some characters clearly printed", if a file is binary, bytes in it can fall between the a-z A-Z 0-9 ranges, that doesn't mean the other bytes are "garbage". Many files have header information that would indicate what the file is used for. As in the other post, the 'file' on *nix could tell you something about most of them. cygwin also has this, so you can check some files already in windows, just don't expect 100% accuracy. There are probably windows apps that try to do the same too.
|