You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It appears that if a tweet text contains a unicode character (in this case, u'\u201c') a UnicodeEncodeError is generated.
Traceback (most recent call last):
File "tweets.py", line 25, in <module>
print status.text
File "c:\development\envs\tfe\lib\encodings\cp437.py", line 12, in encode
return codecs.charmap_encode(input,errors,encoding_map)
UnicodeEncodeError: 'charmap' codec can't encode character u'\u201c' in position 12: character maps to <undefined>
The text was updated successfully, but these errors were encountered:
In tweets.py...
It appears that if a tweet text contains a unicode character (in this case, u'\u201c') a UnicodeEncodeError is generated.
Traceback (most recent call last):
The text was updated successfully, but these errors were encountered: