mirror of
https://github.com/PyMySQL/mysqlclient.git
synced 2025-08-15 11:10:58 +08:00
use_unicode=True by default on Python 3.
This commit is contained in:
@ -178,7 +178,7 @@ class Connection(_mysql.connection):
|
||||
cursorclass = kwargs2.pop('cursorclass', self.default_cursor)
|
||||
charset = kwargs2.pop('charset', '')
|
||||
|
||||
if charset:
|
||||
if charset or not PY2:
|
||||
use_unicode = True
|
||||
else:
|
||||
use_unicode = False
|
||||
|
Reference in New Issue
Block a user