Commit 3f5c298a authored by Boris Kocherov's avatar Boris Kocherov

in mysql connection initialization add charset=utf8 and

use_unicode=False
parent 66eddf10
......@@ -198,7 +198,7 @@ class DB(TM):
def _parse_connection_string(self):
self._mysql_lock = self._try_transactions = None
self._kw_args = kwargs = {'conv': self.conv}
self._kw_args = kwargs = {'conv': self.conv, 'charset': 'utf8', 'use_unicode': False}
items = self._connection.split()
if not items:
return
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment