Page 2 of 2

Re: Can't start new lines with love.filesystem?

Posted: Sun Mar 20, 2011 8:55 am
by BlackBulletIV
Lol. Stay away from Notepad, that can get you into a lot of confusion.

Re: Can't start new lines with love.filesystem?

Posted: Mon Mar 21, 2011 1:49 am
by Jasoco
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.

Re: Can't start new lines with love.filesystem?

Posted: Mon Mar 21, 2011 3:09 am
by BlackBulletIV
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.
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.

Re: Can't start new lines with love.filesystem?

Posted: Mon Mar 21, 2011 5:32 pm
by Robin
Jasoco wrote:Yeah, I noticed that \n works fine on OS X.
That's because OS X is Unix. Classic Mac OS used \r, though.