From: Jay Soffian Date: Sun, 19 Apr 2009 01:54:07 GMT Subject: Re: [PATCH RFC3.5 08/12] send-email: Move Subject sanitization from --compose code to send_message Message-ID: <76718490904181854o380fe118y9f3a52c926bd1f6d@mail.gmail.com> In-Reply-To: <1240074128-16132-9-git-send-email-mfwitten@gmail.com> On Sat, Apr 18, 2009 at 1:02 PM, Michael Witten wrote: > +       my $sanitized_subject = ($subject =~ /[^[:ascii:]]/) ? quote_rfc2047($subject) : $subject; I wonder if it would be clearer to always call quote_rfc2047, then have that function just return its input unaltered if quoting is not needed. j.