Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- >>> x = 'é'
- >>> x = unicode(x.encode('utf-8'))
- Traceback (most recent call last):
- File "<stdin>", line 1, in <module>
- UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 0: ordinal not in range(128)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement