PYthon: UnicodeEncodeError

Python: UnicodeEncodeError: 'ascii' codec can't encode character in position : ordinal not in range(128)

It might be as simple as using the encode(utf-8) method on your string.