I just said: > Win32's file handling handles certain characters specially: 0xff is > interpreted as an end-of-file marker Oops, forgive me on this. EOF is actually 0x1a, not 0xff. See also: http://mail.python.org/pipermail/python-list/2004-September/284028.html -Dave LeCompte