From d12b217aded82bd913cf8f6bc2771d24e9b65727 Mon Sep 17 00:00:00 2001 From: pierre Date: Mon, 12 Feb 2024 16:29:52 +0100 Subject: [PATCH] windows --- tabsimi.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tabsimi.py b/tabsimi.py index 353f733..b805cb8 100644 --- a/tabsimi.py +++ b/tabsimi.py @@ -140,7 +140,7 @@ class DoSimi(AnalyseMatrix): def doanalyse(self) : self.pathout.basefiles(simipath) - with open(normpath_win32(self.pathout['selected.csv']), 'w') as f : + with open(normpath_win32(self.pathout['selected.csv']), 'w', encoding='utf8') as f : f.write('\n'.join([repr(val) for val in self.column])) count = 1 keepGoing = self.dlg.Update(count) -- 2.7.4