Let me check something, be right back.
...
Hmm. The problem is apparently with Notepad, everything else shows it correctly.
What I was doing was creating an sf::String with the constructor that takes a string literal, then using the fstream write method to write the string to a text file. The relevant code:
void Log::write(sf::String const& line)
{
logfile.write( line.toAnsiString().data(), line.getSize() );
// logfile is an fstream object pointed to a file opened with the trunc, output and binary flags
}
Log log;
log.write(sf::String("1st line\n\n2nd Line");
The problem I was seeing was that notepad put squares where the new lines should be. Copying to the browser's textbox however added new lines. And opening in a more versatile text editor (TextPad) displayed the new lines as well.
I should just delete notepad.exe .