Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- >>> c = "ö"
- >>> c.encode("utf8")
- 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)
- >>> c
- '\xc3\xb6'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement