Alex Martelli wrote: > Fuzzyman <[EMAIL PROTECTED]> wrote: > ... > > > Open the file with 'rU' mode, and check the file object's newline > > > attribute. > >
Just to confirm, for a UTF16 encoded file, the newlines attribute is ``None``. All the best, Fuzzyman http://www.voidspace.org.uk/python/index.shtml -- http://mail.python.org/mailman/listinfo/python-list