Using MySQLdb I connect to a database where everything is stored in the utf8 encoding.
If I do
cursor.execute("SET NAMES utf8")
and fetch some data from the database by another statement. Does that mean, that the strings in
cursor.execute("SELECT ...")
cursor.fetchall()
will be in unicode? Or do I have to turn them first by
mystr.decode("utf8")
to unicode?
From the docs: