From: pierre Date: Tue, 6 Feb 2024 11:34:45 +0000 (+0100) Subject: ... X-Git-Url: http://www.iramuteq.org/git?p=iramuteq;a=commitdiff_plain;h=014ba7b451c7af829a05cf5512d16a2612ac4c93 ... --- diff --git a/tabcatego.py b/tabcatego.py index 891e4b6..5f4052e 100644 --- a/tabcatego.py +++ b/tabcatego.py @@ -86,7 +86,7 @@ class Categorisation(AnalyseMatrix): cate = {'TOCATE':{}, 'CATE':{}} for val in self.tableau.actives : cate['TOCATE'][val] = self.tableau.actives[val][0] - with open(self.pathout['cate.json'], 'w') as f : + with open(self.pathout['cate.json'], 'w', encoding='utf8') as f : f.write(json.dumps(cate)) self.tableau.save_tableau(self.pathout['analyse.db']) self.dlg.Destroy()