how to solv UnicodeEncodeError using tweepy?

Viewed 19

When i run this code i get an error

i used on other code i wrote 'encoding ('utf-8)' , but i cant figure out how to use it in this code.

thank you for your time.

import tweepy
from api_keys import *



auth = tweepy.OAuth1UserHandler(
consumer_key, consumer_secret, access_token,access_token_secret)

api = tweepy.API(auth)

user = (api.verify_credentials())

print (user)

"UnicodeEncodeError: 'charmap' codec can't encode character.." # <---the error 
0 Answers
Related