does anyone have an idea, why this Python 3.2 code
try: raise Exception(\'X\') except Exception as e: print(\"Error {0}\".format(str(e)))
Try this, it should work.
try: raise Exception('X') except Exception as e: print("Error {0}".format(str(e.args[0])).encode("utf-8"))
Considering you have only a message in your internal tuple.