From: pierre Date: Thu, 1 Feb 2024 23:00:36 +0000 (+0100) Subject: windows X-Git-Url: http://www.iramuteq.org/git?p=iramuteq;a=commitdiff_plain;h=c3fff5509e18b990d5e6a50dcf4cdaf003812070 windows --- diff --git a/textaslexico.py b/textaslexico.py index ff1bc49..14f054b 100644 --- a/textaslexico.py +++ b/textaslexico.py @@ -148,7 +148,7 @@ class Lexico(AnalyseText) : save.image("%s") """ % ffr(self.dictpathout['RData']) tmpfile = tempfile.mktemp(dir=self.parent.TEMPDIR) - tmpscript = open(tmpfile, 'w') + tmpscript = open(tmpfile, 'w' ,encoding='utf8') tmpscript.write(txt) tmpscript.close() self.doR(tmpfile, dlg = self.dlg, message = 'R...')