UnicodeEncodeError -- 'character maps to <undefined>'

J 1jason.whatford at gmail.com
Sat Aug 27 15:55:28 CEST 2011

Hi there,

I'm attempting to print a dictionary entry of some twitter data to screen but every now and then I get the following error:

(<type 'exceptions.UnicodeEncodeError'>, UnicodeEncodeError('charmap', u'RT 
@ciaraluvsjb26: BIEBER FEVER \u2665', 32, 33, 'character maps to <undefined>'), <traceback object at 0x01B323C8>)

I have googled this but haven't really found any way to overcome the error. Any ideas?


More information about the Python-list mailing list