set the default encoding to 'utf-8',sys.setdefaultencoding('utf8')