I have a C app that logs to a file.
I installed the monitor plugin for notepad++ to automatically update, similar to 'tail' on Linux.
My app writes the lines with \n\r at the end ( e.g. fprintf(fp, "%s\n\r","Test"); )
I get something like:
Line 1
Line 2
instead of
Line 1
Line 2
When viewing (no matter the EOL conversion) with 'View->Show Symbol->Show End of Line' I see:
Line 1[CR][LF]
[CR]
Line 2[CR][LF]
[CR]
It is as if it is treating \n as a [CR][LF] and \r as [CR] which is adding another line.
Any ideas?