From: "Iñaki Baz Castillo" Date: 2008-03-26T02:15:41+09:00 Subject: Re: Is possible Ruby to use CRLF instead of LF? 2008/3/25, Mateusz Tybura : > To change \n to \r\n you can use: > > a.insert(index("\n"),"\r") > > It will put \r before \n but only once. If there is more than one \n in text > you may use it in loop. Ok, I'll try it. Thanks. -- Iñaki Baz Castillo