Re: Hi, I'm really not sure what

Lyle's picture
Offline
AdministratoreLiTe!
Joined: 08/07/2007
Juice: 6841
Re: Hi, I'm really not sure what

Traditionally, files created and used by DOS and Windows used "\r\n" to denote line endings (carriage return + new line). Unix used "\n", and Macintosh used "\r".

Decent text editors will let you change which characters are used when you hit the Enter key. Programmers are nearly always taught to use "\n" as the newline, and it's become the standard for multi-platform applications. Like Drupal. Smiling

Regions By: arbel (23 replies) Wed, 09/26/2007 - 20:44