X-Git-Url: http://www.iramuteq.org/git?a=blobdiff_plain;f=tabcatego.py;h=5f4052eb5a7a5d7c288974e4f5e6afb46936221a;hb=refs%2Fheads%2F3.0;hp=891e4b68d28e30d25c711eaf6a9f3cd6b267e5cc;hpb=b8e47a5f5eee292f77c55edf275c8e0d8d24e831;p=iramuteq 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()