Skip to content

Commit 13f2dc4

Browse files
author
Chris Turner
committed
datajoint/connection.py: add utf8 charset as stopgap until it is parameterized
1 parent fe5f749 commit 13f2dc4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

datajoint/connection.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ def connect(self):
9393
warnings.filterwarnings('ignore', '.*deprecated.*')
9494
self._conn = client.connect(init_command=self.init_fun,
9595
sql_mode="NO_ZERO_DATE,NO_ZERO_IN_DATE,ERROR_FOR_DIVISION_BY_ZERO,"
96-
"STRICT_TRANS_TABLES,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION",
96+
"STRICT_TRANS_TABLES,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION", charset="utf8",
9797
**self.conn_info)
9898

9999
def register(self, schema):

0 commit comments

Comments
 (0)