I\'m having problems dealing with unicode characters from text fetched from different web pages (on different sites). I am using BeautifulSoup.
The problem is that
well i tried everything but it did not help, after googling around i figured the following and it helped. python 2.7 is in use.
# encoding=utf8 import sys reload(sys) sys.setdefaultencoding('utf8')