On 10/09/12 02:22, Jussi Piitulainen wrote: >>> in 682592 20121008 232126 "Prasad, Ramit" wrote: > [snip mess] >>> How does one unpack this post? ;-) >> >> Since that's not the way it arrived here, i have to ask, how do you >> get these posts? > > I see a carriage return rendered as ^M at the end of every line from > Prasad's messages. Other than that, they are well-formatted plain text > for me, too. > > I guess Prasad's system sends \r\n instead of \n\r (the DOS line-end) > and \r\n gets interpreted as a stray \r followed by end-of-line.
Prasad's system is correctly sending the "right" order (DOS line-ends are CR+LF = \r\n, not the other way around). However, it might be that there is no CR+LF on the last line, or that one line is missing the CR, so your viewer heuristic (vim does this) thinks it has Unix NL-only line-endings and shows the ^M on all the lines that have the CR. All for one stray line without. Prasad's email came through cleanly here (gmane + Thunderbird). -tkc -- http://mail.python.org/mailman/listinfo/python-list