Advertisement
wandrake

Untitled

Aug 28th, 2011
250
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.22 KB | None | 0 0
  1. >>> c = "ö"
  2. >>> c.encode("utf8")
  3. Traceback (most recent call last):
  4.   File "<stdin>", line 1, in <module>
  5. UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 0: ordinal not in range(128)
  6. >>> c
  7. '\xc3\xb6'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement