...
conn = pymysql.connect(host=self.dbhost, user = self.dblogin, passwd = self.dbpass,db = self.dbname)
cursor = conn.cursor()
self.uname = "тест"
info = "INSERT INTO `tst`.`test` (`id`, `uname`)\
VALUES (NULL, '"+self.uname+"');"
cursor.execute(info)
cursor.close()
conn.close()
...
кладёт в базу такое: теÑÑ‚
если делаю self.uname = u"тест" пишет
«UnicodeEncodeError: 'latin-1' codec can't encode characters in position 71-74: ordinal not in range(256)»