class UnicodeFilter(MessagePlugin):

    def received(self, context):
        decoded = context.reply.decode('utf-8', errors='ignore')
reencoded = decoded.encode('utf-8')
Python UTF-8 XML parsing (SUDS): Removing 'invalid token'