Rawhide reports on fedora-devel and fedora-test lists contain UTF-8 strings (people's names), but there's no Content-Type header. It confuses mailers which don't assume UTF-8 (which is a good thing - people who don't set proper headers don't use UTF-8, either). It'd be good if the reports could use a header clearly stating the encoding.
This is generated by the buildrawhide script, https://fedorahosted.org/rel-eng/browser/scripts/buildrawhide If you have suggestions of what we could add to this in order to give it an encoding header, I'll happily apply a patch.
This should work I think:
diff --git a/scripts/buildrawhide b/scripts/buildrawhide index f1a5598..3025a72 100755 --- a/scripts/buildrawhide +++ b/scripts/buildrawhide @@ -58,6 +58,6 @@ sudo -u ftpsync /usr/bin/rsync $RSYNC_OPTS --exclude repodata/ /mnt/koji/mash/ra # repodata & cleanup sudo -u ftpsync /usr/bin/rsync $RSYNC_OPTS --delete --delete-after /mnt/koji/mash/rawhide-$DATE/development/ $DESTPATH if [ "$?" = "0" ]; then - cat /mnt/koji/mash/rawhide-$DATE/logs/start /mnt/koji/mash/rawhide-$DATE/logs/repodiff /mnt/koji/mash/rawhide-$DATE/logs/depcheck | mail -s 'rawhide report: '$DATE' changes' fedora-devel-list@redhat.com,fedora-test-list@redhat.com -- -f rawhide@fedoraproject.org -F "Rawhide Report" + cat /mnt/koji/mash/rawhide-$DATE/logs/start /mnt/koji/mash/rawhide-$DATE/logs/repodiff /mnt/koji/mash/rawhide-$DATE/logs/depcheck | mutt -e 'set from="Rawhide Report rawhide@fedoraproject.org"' -e 'set envelope_from=yes' -s 'rawhide report: '$DATE' changes' fedora-devel-list@redhat.com,fedora-test-list@redhat.com fi exit 0
Non mangled attached version of the patch foo
Added (with corresponding puppet bits to get mutt on the box.)
Login to comment on this ticket.