Alright, so I am writing out to a simple .txt file, and I
need to force a line break in it. My immediate thought is to use
"\n" as that is a line break. So, I write it out to the text file,
and instead of a line break, I see the "complex character" symbol
(you know, that square that shows up with unknown characters). I
have tried the various ASCII values to no avail, tried \r, even
tried copy-pasting a line break in from notepad. Nothing seems to
be working for me. How do I do this?
_logFile = "\n";
stream = new FileStream();
stream.open(file,FileMode.WRITE);
stream.writeUTFBytes(_logFile);
stream.close();
_logFile = "\n";
stream = new FileStream();
stream.open(file,FileMode.WRITE);
stream.writeUTFBytes(_logFile);
stream.close();