From c3fff5509e18b990d5e6a50dcf4cdaf003812070 Mon Sep 17 00:00:00 2001 From: pierre Date: Fri, 2 Feb 2024 00:00:36 +0100 Subject: [PATCH] windows --- textaslexico.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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...') -- 2.7.4