diff --git a/src/dogshell/wrap.py b/src/dogshell/wrap.py index b457bb6..6356a6b 100644 --- a/src/dogshell/wrap.py +++ b/src/dogshell/wrap.py @@ -136,6 +136,10 @@ def main(): event_body.extend([u'notifications: %s\n' % (notifications)]) event_body.append(u'%%%\n') + + # ensure all strings are parsed as utf-8 + event_body = [x.decode('utf-8') for x in event_body] + event_body = u''.join(event_body) event = { 'alert_type': alert_type,