I'm receiving sns notifications from a topic forwarding emails in a django app.
The request body json present in the Message.content
contains strange utf-8 format ( ie: "=C3=A8" representing "è") and also some "= " somewhere.
I'm trying to parse it before to load:
body = request.body.decode('utf-8')
body_unicode = unicode(body)
js = json.loads(body_unicode.replace('\n', ''))
But I'm not able to. The substrings "=C3=A8" are still in the body_unicode
.