[PATCH] Quick hack to avoid double qp encoding
From: Jürgen_Rühle <j-r@online.de>
Signed-off-by: Jürgen Rühle <j-r@online.de>
---
This is just a hack since I know next to nothing about perl.
git-send-email.perl | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/git-send-email.perl b/git-send-email.perl
index ba39d39..a4a22d3 100755
--- a/git-send-email.perl
+++ b/git-send-email.perl
@@ -555,6 +555,7 @@ foreach my $t (@files) {
}
close F;
if (defined $author_not_sender) {
+ $author_not_sender =~ s/=\?utf-8\?q\?([^?]*)\?=/my $bla = $1; $bla =~ s|=([0-9a-fA-F]{2})|sprintf '%c', hex($1)|eg; $bla/eg;
$message = "From: $author_not_sender\n\n$message";
}
--
1.5.0.rc0.g525e