On Fri, 05 Dec 2008 12:00:59 -0700, Joe Strout wrote: >> So UTF-16 has an explicit EOF marker within the text? > > No, it does not. I don't know what Terry's thinking of there, but text > files do not have any EOF marker. They start at the beginning > (sometimes including a byte-order mark), and go till the end of the > file, period.
Windows text files still interpret ctrl-Z as EOF, or at least Windows XP does. Vista, who knows? -- Steven -- http://mail.python.org/mailman/listinfo/python-list