From: "Aaron D. Gifford" Date: 2010-06-05T10:40:19+09:00 Subject: Re: pack('m') and Windows files > The results are that I receive a mail that lacks of the 'end of lines', > in which place there are little squares (one per each line, to be fair). > Also, filetype is Unix (and not Dos/Windows). > > I tried previously to substitute \n with \r\n: > content = File.read(filename).gsub(/\n/, '\r\n') Make sure you're using double-quotes for "\r\n" and not single-quotes. Aaron out.