rhiever / TwitterFollowBot

A Python bot that automates several actions on Twitter, such as following users and favoriting tweets.
GNU General Public License v3.0
1.31k stars 447 forks source link

Having problem using a Non-ASCII character in the phrase #107

Closed bartb142 closed 1 month ago

bartb142 commented 8 years ago

I was trying to search for the users tweeting some specific Japanese characters but seems like the phrase can allow only the ASCII characters.

how can I make it to allowing the non-ASCII characters?

karimhossenbux commented 8 years ago

Try this a the top of your .py file:

#!/usr/bin/python
# -*- coding: latin-1 -*-