>>> x = u'\xbb'
>>> x.encode('ascii', 'ignore')
>>> x.decode('ascii', 'ignore')
Traceback (most recent call last):
", line 1, in ?
UnicodeEncodeError: 'ascii' codec can't encode character u'\xbb' in position 0: ordinal not in range(128)
Why does the decode call raise an exception even though I've asked it to 'ignore' Unicode problems?