git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[PATCH] allow 8bit data in email body sent by send-email

From
APAndre Przywara <andre.przywara@amd.com>
Date
Jan 8, 2009, 13:50 UTC
Message-ID
<1231422657-15305-1-git-send-email-andre.przywara@amd.com>

Hi, when sending patch files via git send-email, the perl script assumes 7bit characters only. If there are other bytes in the body (foreign language characters in names or translations), some servers (like vger.kernel.org) reject the mail because of th�t. This patch always adds an 8bit header line to each mail. If someone thinks this has any side-effects, tell me, I am open to suggestions.

Regards, Andr�.

Signed-off-by: Andre Przywara <andre.przywara@amd.com>
Andre Przywara
AMD-Operating System Research Center (OSRC), Dresden, Germany
Tel: +49 351 277-84917
****to satisfy European Law for business letters:
Advanced Micro Devices GmbH
Karl-Hammerschmidt-Str. 34, 85609 Dornach b. Muenchen
Geschaeftsfuehrer: Jochen Polster; Thomas M. McCoy; Giuliano Meroni
Sitz: Dornach, Gemeinde Aschheim, Landkreis Muenchen
Registergericht Muenchen, HRB Nr. 43632
---
 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 77ca8fe..68a462c 100755
--- a/git-send-email.perl
+++ b/git-send-email.perl
@@ -793,6 +793,7 @@ To: $to${ccline}
 Subject: $subject
 Date: $date
 Message-Id: $message_id
+Content-Transfer-Encoding: 8bit
 X-Mailer: git-send-email $gitversion
 ";
 	if ($thread && $reply_to) {
-- 
1.5.5
Next: Jeff King
Message 1 of 4 in “allow 8bit data in email body sent by send-email”
  1. allow 8bit data in email body sent by send-emailAndre Przywara, Jan 8, 2009
  2. Jeff KingJan 9, 2009
  3. Andre PrzywaraJan 9, 2009
  4. Jeff KingJan 9, 2009

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.