How can I preview a text with the new line characters represented in a way I can actually see them?
for example instead of:
bla bla
bla
...
I want to see something like
bla bla[\n]
bla[\r]
...
but I want to see what type of character is it, because some are \n and some are \r…
the reason for this is that I have two pieces of text that are apparently different when processed by a javascript syntax-highlighting function, but they actually have the same content.
I want to see if they really have different end of line characters
Javascript:
If you don’t care about
\t, just remove it above.