I am running under WinXP. I have had my line ending format set to Dos/Win for a while. I created a new le.py and typed in:
This is a test.
This is only a test.
When I pulled it into UltraEdit, UE asked me if I wanted to convert to DOS mode. I said no. I then entered hex edit mode. To my surprise, hex edit mode revealed:
This is a test.\0x2E\0x0D\0x0DThis is only a test.\0x2E\0x0D\0x0D\0x0D
Son lines with text and carriage return get \r\n and blank lines get only \n?
Log in to post a comment.