Quote:
Originally Posted by chaley
The problem is the file(xxx).read(). That is opening the file in text mode, not binary mode. The read is finding a ^Z, which is end of file.
|
Cool! It's amazing how subtle something like this can be. He's probably getting ^Z near a standard file header (possibly in the .doc files?), the files end up with identical content and the hash matches.