Thanks for your demo. No function adds some invisible character, the character was already in your text file. String functions just manipulate character strings. They do not care about the coding or what a certain character means.

BTW, why did you start a level for reading strings?