From 65b79cad9989ce28d23a49e5a7c8516af4e53d69 Mon Sep 17 00:00:00 2001 From: Adam Goldsmith Date: Tue, 25 Feb 2020 15:35:52 -0500 Subject: [PATCH] sqlExport: Set db character set to utf8 --- sqlExport.py | 1 + 1 file changed, 1 insertion(+) diff --git a/sqlExport.py b/sqlExport.py index 6f16ba2..d21b3b3 100644 --- a/sqlExport.py +++ b/sqlExport.py @@ -51,6 +51,7 @@ with open('tableMapping.yaml') as f: conn = MySQLdb.connect(**MEMBERSHIPWORKS_DB) +conn.set_character_set('utf8') c = conn.cursor() def createDefinitionsFromTableMap(tableMap):