You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by John Szakmeister <jo...@szakmeister.net> on 2003/11/04 00:50:38 UTC

[PATCH] Add MIME header to emails generated by mailer.py

I'm not sure if this the right thing to do, but I have some extended ASCII 
characters in my commit logs and I find that my email program doesn't know 
what to do with the UTF8 encoded characters.  I believe it's because the MIME 
information isn't included as part of the email, so this patch injects that 
information in.  Seems to work on my machine.  Someone with more knowledge of 
Internet standards might want to chime in and describe the right way to do 
this if I did something wrong.

Log:
----------------------------------------
Updated mailer.py to provide MIME type information in the email header.
Mainly, Content-type: text/plain; charset=utf8.

* tools/hook-scripts/mailer/mailer.py
  (MailedOutput.mail_headers): Added MIME header to identify email as
  text/plain; charset=utf8.
----------------------------------------

-John