I am looking for a text editor that can show me the actual carriage returns and new lines.
eg. if I save this line: "This\rIs\r\nA\nString"
Instead of showing
This Is A String
I am looking for a text editor that will show
This\rIs\r\nA\nString
I believe that the problem with parsing a text file in a certain program is caused by inconsistent news / carriage return / at the ends of lines.
I could just create a program that can read the file and display it with this formatting, but I decided that it would be easier if anyone knew about it, which can already do it.
Thank!
[EDIT]
I forgot to point out that I'm on Windows, and installing Cygwin is actually not an option. Otherwise, I would use vi or vim.
Also, if there is a way to do this in a PSPad that is already installed, it would be great if you knew that. Thank!
text newline carriage-return text-editor
NickAldwin Sep 18 '09 at 19:11 2009-09-18 19:11
source share