In such cases, I find it best to look at the file in a hex editor rather than a text editor that may have its own ideas on how to render the text, and this can be useful for finding annoying non-printable characters that might touch you.
You did not say which platform you are working on, but if you are in windows, I would recommend using HxD .
If you are on Windows, you will see something like this:
Offset(h) 00 04 08 0C 10 14 18 1C 00000000 736F6D65 74657874 0D0A736F 6D657465 78740D0A 736F6D65 74657874 0D0A sometext..sometext..sometext..
The sixth sequence 0D0A is the character '\ n' in Windows in the above example.
source share