how to handle unicode (non-ascii) characters in python?,outbytes = yourstring.encode('utf-8')