WriteAllText adding extra text?

That looks like error with text encoding, either encoding used for reading from file or encoding used to display in console.
Noticing the thread title about WriteAllText method, it also has an overload where you can specify text encoding.
 
Back
Top