From: 7stud -- Date: 2012-10-02T02:09:49+09:00 Subject: Re: \r\n for EOL in windows? > I believe "\r\n" is a normal newline for windows "type" files. Yes, but in a ruby program it's just "\n". ruby will take care of converting from and to the platform specific newline when you read or write. For instance, if you are using windows and write "\r\n" ruby will convert the "\n" to "\r\n" giving you the output: "\r\r\n", which is not what you want. -- Posted via http://www.ruby-forum.com/.