Re: Can't start new lines with love.filesystem?
Posted: Sun Mar 20, 2011 8:55 am
Lol. Stay away from Notepad, that can get you into a lot of confusion.
Almost all editors work with \n. It's the annoying Notepad that doesn't (maybe a few others?). Really, the text is actually "all on one line" anyway. It depends on the editor as to what it uses to distinguish new lines.Jasoco wrote:Yeah, I noticed that \n works fine on OS X. I never thought to look at any of my output files on Windows. But I'm betting they're all on one line as well in certain *cough* Notepad *cough* text editors.
That's because OS X is Unix. Classic Mac OS used \r, though.Jasoco wrote:Yeah, I noticed that \n works fine on OS X.