Can't start new lines with love.filesystem?
Forum rules
Before you make a thread asking for help, read this.
Before you make a thread asking for help, read this.
- BlackBulletIV
- Inner party member
- Posts: 1261
- Joined: Wed Dec 29, 2010 8:19 pm
- Location: Queensland, Australia
- Contact:
Re: Can't start new lines with love.filesystem?
Lol. Stay away from Notepad, that can get you into a lot of confusion.
- Jasoco
- Inner party member
- Posts: 3726
- Joined: Mon Jun 22, 2009 9:35 am
- Location: Pennsylvania, USA
- Contact:
Re: Can't start new lines with love.filesystem?
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.
- BlackBulletIV
- Inner party member
- Posts: 1261
- Joined: Wed Dec 29, 2010 8:19 pm
- Location: Queensland, Australia
- Contact:
Re: Can't start new lines with love.filesystem?
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.
- Robin
- The Omniscient
- Posts: 6506
- Joined: Fri Feb 20, 2009 4:29 pm
- Location: The Netherlands
- Contact:
Re: Can't start new lines with love.filesystem?
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.
Help us help you: attach a .love.
Who is online
Users browsing this forum: Google [Bot] and 2 guests