Writing "\n" within in a string in your sourcecode will cause the compiler to convert that escape sequence to the proper replacement. When reading bytes from a file there is no conversion though. I also don't see any reason why there should be a conversion when reading characters from a file..?

The comma does not create a line feed but separates two strings from each other if and only if you haven't changed the delimiter char previously.


Always learn from history, to be sure you make the same mistakes again...