How to handle Unicode (non-ASCII) characters in Python?,outbytes = yourstring.encode('utf-8')