From 7a1ec135b2c6a77e63efcee060636fbc391cd64c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lucio=20Andr=C3=A9s=20Illanes=20Albornoz?= Date: Fri, 22 Jun 2018 11:38:47 +0200 Subject: [PATCH] MiRCARTCanvasImportStore.py:importTextFile(): correctly open() pathName w/ encoding="utf-8" (via munki.) --- MiRCARTCanvasImportStore.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MiRCARTCanvasImportStore.py b/MiRCARTCanvasImportStore.py index 2714e0f..a070b27 100644 --- a/MiRCARTCanvasImportStore.py +++ b/MiRCARTCanvasImportStore.py @@ -70,7 +70,7 @@ class MiRCARTCanvasImportStore(): # }}} # {{{ importTextFile(self, pathName): XXX def importTextFile(self, pathName): - self.inFile = open(pathName, "r") + self.inFile = open(pathName, "r", encoding="utf-8") self.inSize = self.outMap = None; inCurColourSpec = ""; inCurRow = -1; inLine = self.inFile.readline()