Does the attached patch make sense? I've not tested it, just cargo-culted
it across from commit-email.{pl.in,rb}.
At the moment my mailserver (Courier) whines whenever I get a commit
message that contains non-ASCII text (which is actually a fair number
of them).
[[[
* tools/hook-scripts/mailer/mailer.py
(MailedOutput.mail_headers): Add a 'Content-Transfer-Encoding: 8bit'
header to go with the UTF-8 content-type, so that the message can
legally contain 8-bit characters.
]]]
Regards,
Malcolm
Index: tools/hook-scripts/mailer/mailer.py
===================================================================
--- tools/hook-scripts/mailer/mailer.py (revision 19298)
+++ tools/hook-scripts/mailer/mailer.py (working copy)
@@ -202,6 +202,7 @@
'Subject: %s\n' \
'MIME-Version: 1.0\n' \
'Content-Type: text/plain; charset=UTF-8\n' \
+ 'Content-Transfer-Encoding: 8bit\n' \
% (self.from_addr, string.join(self.to_addrs, ', '), subject)
if self.reply_to:
hdrs = '%sReply-To: %s\n' % (hdrs, self.reply_to)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Apr 10 21:04:17 2006