Author: gonzo Date: Mon Apr 2 20:12:25 2018 New Revision: 331884 URL: https://svnweb.freebsd.org/changeset/base/331884
Log: Make bugzilla notification email UTF-8 compatible Add Content-Transfer-Encoding and Content-Type headers to indicate that email body is UTF-8. Without them Bugzilla's email parser defaults to latin-1 encoding and if there are UTF-8 charasters in commit messages they get corrupted in refrenced PR's comment text. PR: 223634 Modified: svnadmin/hooks/scripts/notify_bz.sh Modified: svnadmin/hooks/scripts/notify_bz.sh ============================================================================== --- svnadmin/hooks/scripts/notify_bz.sh Mon Apr 2 18:10:41 2018 (r331883) +++ svnadmin/hooks/scripts/notify_bz.sh Mon Apr 2 20:12:25 2018 (r331884) @@ -26,6 +26,8 @@ for pr in $PRS; do echo "From: commit-h...@freebsd.org" echo "To: notify...@freebsd.org" echo "Subject: [Bug $pr]" + echo "Content-Type: text/plain; charset=UTF-8" + echo "Content-Transfer-Encoding: 8bit" echo "" echo "A commit references this bug:" echo "" _______________________________________________ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"