Python MySQLdb 查询中文出现问号的解决方法

 在连接数据库的时候设置如下即可:

db = MySQLdb.connect('localhost','root','×××××','test',use_unicode=True,charset="utf8")
原文地址:https://www.cnblogs.com/peter1994/p/7361172.html