[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

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

From: John Szakmeister <john_at_szakmeister.net>
Date: 2003-11-04 01:50:38 CET

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

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Received on Tue Nov 4 01:47:24 2003

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.