I tried to use both TextWriter1.WriteLine and CRLF and I think that they don't work correctly.
As the name says CRLF should be "Carriage Return" and "Line Feed", which in hex are characters 0x0D and 0x0A (or 13 and 10 decimal).
Instead, TextWriter1.WriteLine and CRLF only write character 0x0A, which causes a problem when opening created text file with notepad. The text is not formated correctly and everything is displayed in one line.
Another question: When I write for example: Chr(176), in a created file there are two characters 0xc2 and 0xb0 (0xb0 -> 176 dec). In some editors (notepad is showing ok) it displays like "°" instead of just "°".
As the name says CRLF should be "Carriage Return" and "Line Feed", which in hex are characters 0x0D and 0x0A (or 13 and 10 decimal).
Instead, TextWriter1.WriteLine and CRLF only write character 0x0A, which causes a problem when opening created text file with notepad. The text is not formated correctly and everything is displayed in one line.
Another question: When I write for example: Chr(176), in a created file there are two characters 0xc2 and 0xb0 (0xb0 -> 176 dec). In some editors (notepad is showing ok) it displays like "°" instead of just "°".