Fuzzyman <[EMAIL PROTECTED]> wrote: ... > > Open the file with 'rU' mode, and check the file object's newline > > attribute. > > Do you know if this works for multi-byte encodings ? Do files have
You mean when you open them with the codecs module? > metadata associated with them showing the line-ending in use ? Not in the filesystems I'm familiar with (they did use to, in filesystems used on VMS and other ancient OSs, but that was a very long time ago). Alex -- http://mail.python.org/mailman/listinfo/python-list