From 68cd6d5573f2264f8122d77221eea15cfa974b6d Mon Sep 17 00:00:00 2001 From: "Kyle J. McKay" Date: Fri, 9 Dec 2016 14:57:41 -0800 Subject: [PATCH] mail: use UTF-8 instead of utf-8 While charset names are defined to be case-insensitive, the UTF-8 name is actually registered as "UTF-8" not "utf-8" so use the case as registered rather than "utf-8" although it really shouldn't matter. Signed-off-by: Kyle J. McKay --- shlib.sh | 2 +- taskd/mail.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/shlib.sh b/shlib.sh index c080390..1ced705 100644 --- a/shlib.sh +++ b/shlib.sh @@ -337,7 +337,7 @@ mail() { echo "To: $(_addrlist "$@")" [ -z "$_subject" ] || echo "Subject: $_subject" echo "MIME-Version: 1.0" - echo "Content-Type: text/plain; charset=utf-8" + echo "Content-Type: text/plain; charset=UTF-8" echo "Content-Transfer-Encoding: 8bit" [ -n "$cfg_suppress_x_girocco" ] || echo "X-Girocco: $cfg_gitweburl" echo "Auto-Submitted: auto-generated" diff --git a/taskd/mail.sh b/taskd/mail.sh index 4b8dae6..f53a0da 100755 --- a/taskd/mail.sh +++ b/taskd/mail.sh @@ -333,7 +333,7 @@ generate_email_header() To: $recipients Subject: ${emailprefix}$projectname $refname_type $short_refname ${change_type}d: $describe MIME-Version: 1.0 - Content-Type: text/plain; charset=utf-8 + Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit EOF [ -n "$cfg_suppress_x_girocco" ] || echol "X-Girocco: $cfg_gitweburl" -- 2.11.4.GIT