I''m trying to re-flow email messages, removing the line breaks that get added by mail programs so that the lines don''t exceed 72 characters. Mail.app and Thunderbird seem to insert a space character before each added line break. Outlook replaces new lines in the email with double \n''s, then uses single \n''s for the ''soft'' line breaks. Can anyone confirm this / point me to some specification / point out any other client behaviour I need to handle? Thanks for any help, Jon
http://www.rfc-archive.org/getrfc.php?rfc=3676 RFC 3676: The Text/Plain Format and DelSp Parameters - dan -- Dan Kohn <mailto:dan@dankohn.com> <http://www.dankohn.com/> <tel:+1-415-233-1000> On Jul 21, 2006, at 6:11 AM, Jonathan del Strother wrote:> I''m trying to re-flow email messages, removing the line breaks that > get added by mail programs so that the lines don''t exceed 72 > characters. > > Mail.app and Thunderbird seem to insert a space character before > each added line break. > Outlook replaces new lines in the email with double \n''s, then uses > single \n''s for the ''soft'' line breaks. > > Can anyone confirm this / point me to some specification / point > out any other client behaviour I need to handle? > > Thanks for any help, > Jon > _______________________________________________ > Rails mailing list > Rails@lists.rubyonrails.org > http://lists.rubyonrails.org/mailman/listinfo/rails
Perfect - thanks On 21 Jul 2006, at 15:56, Dan Kohn wrote:> http://www.rfc-archive.org/getrfc.php?rfc=3676 > RFC 3676: The Text/Plain Format and DelSp Parameters > > - dan > -- Dan Kohn <mailto:dan@dankohn.com> > <http://www.dankohn.com/> <tel:+1-415-233-1000> > > > > On Jul 21, 2006, at 6:11 AM, Jonathan del Strother wrote: > >> I''m trying to re-flow email messages, removing the line breaks >> that get added by mail programs so that the lines don''t exceed 72 >> characters. >> >> Mail.app and Thunderbird seem to insert a space character before >> each added line break. >> Outlook replaces new lines in the email with double \n''s, then >> uses single \n''s for the ''soft'' line breaks. >> >> Can anyone confirm this / point me to some specification / point >> out any other client behaviour I need to handle? >> >> Thanks for any help, >> Jon >> _______________________________________________ >> Rails mailing list >> Rails@lists.rubyonrails.org >> http://lists.rubyonrails.org/mailman/listinfo/rails > > _______________________________________________ > Rails mailing list > Rails@lists.rubyonrails.org > http://lists.rubyonrails.org/mailman/listinfo/rails-------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 2114 bytes Desc: not available Url : http://wrath.rubyonrails.org/pipermail/rails/attachments/20060726/b3dd1b18/smime.bin
Perfect - thanks On 21 Jul 2006, at 15:56, Dan Kohn wrote:> http://www.rfc-archive.org/getrfc.php?rfc=3676 > RFC 3676: The Text/Plain Format and DelSp Parameters > > - dan > -- Dan Kohn <mailto:dan@dankohn.com> > <http://www.dankohn.com/> <tel:+1-415-233-1000> > > > > On Jul 21, 2006, at 6:11 AM, Jonathan del Strother wrote: > >> I''m trying to re-flow email messages, removing the line breaks >> that get added by mail programs so that the lines don''t exceed 72 >> characters. >> >> Mail.app and Thunderbird seem to insert a space character before >> each added line break. >> Outlook replaces new lines in the email with double \n''s, then >> uses single \n''s for the ''soft'' line breaks. >> >> Can anyone confirm this / point me to some specification / point >> out any other client behaviour I need to handle? >> >> Thanks for any help, >> Jon >> _______________________________________________ >> Rails mailing list >> Rails@lists.rubyonrails.org >> http://lists.rubyonrails.org/mailman/listinfo/rails > > _______________________________________________ > Rails mailing list > Rails@lists.rubyonrails.org > http://lists.rubyonrails.org/mailman/listinfo/rails-------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 2104 bytes Desc: not available Url : http://wrath.rubyonrails.org/pipermail/rails/attachments/20060726/0b33ef0c/smime.bin