From ce1459f740a591c63697ff6ff3c106123630539c Mon Sep 17 00:00:00 2001 From: Krzysztof Mazur Date: Wed, 24 Oct 2012 23:28:29 +0200 Subject: [PATCH] =?utf8?q?git-send-email:=20add=20rfc2047=20quoting=20for?= =?utf8?q?=20"=3D=3F"?= For raw subjects rfc2047 quoting is needed not only for non-ASCII characters, but also for any possible rfc2047 in it. Signed-off-by: Krzysztof Mazur Signed-off-by: Jeff King --- git-send-email.perl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/git-send-email.perl b/git-send-email.perl index 1574675d1..5a7c29db9 100755 --- a/git-send-email.perl +++ b/git-send-email.perl @@ -908,7 +908,7 @@ sub is_rfc2047_quoted { sub subject_needs_rfc2047_quoting { my $s = shift; - return ($s =~ /[^[:ascii:]]/); + return ($s =~ /[^[:ascii:]]/) || ($s =~ /=\?/); } sub quote_subject { -- 2.26.2