diff --git a/debian/changelog b/debian/changelog index cf39c9f..9334888 100644 --- a/debian/changelog +++ b/debian/changelog @@ -21,6 +21,8 @@ ubuntu-dev-tools (0.73) UNRELEASED; urgency=low * bash_completion/pbuilder-dist: - Add karmic. - Add squeeze. + * requestsync: + - Send a "Content-Type: text/plain; charset=UTF-8" header (LP: #246307). -- Nathan Handler Mon, 20 Apr 2009 22:32:13 +0000 diff --git a/requestsync b/requestsync index c5bd684..cee81ba 100755 --- a/requestsync +++ b/requestsync @@ -289,7 +289,13 @@ def mail_bug(source_package, subscribe, status, bugtitle, bugtext, keyid = None) assert gpg.returncode == 0 # generate email - mail = 'From: %s\nTo: %s\nSubject: %s\n\n%s' % (myemailaddr, to, bugtitle, signed_report) + mail = '''\ +From: %s +To: %s +Subject: %s +Content-Type: text/plain; charset=UTF-8 + +%s''' % (myemailaddr, to, bugtitle, signed_report) # ask for confirmation and allow to edit: print mail