[Libreoffice-commits] dev-tools.git: esc-reporting/esc-analyze.py

jan Iversen jani at documentfoundation.org
Wed Dec 21 08:06:15 UTC 2016


 esc-reporting/esc-analyze.py |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 0a3473127a3e9bc7b5feecba6dd3f0b84c20f0da
Author: jan Iversen <jani at documentfoundation.org>
Date:   Wed Dec 21 09:05:53 2016 +0100

    debian does not have encoding utf8 as default

diff --git a/esc-reporting/esc-analyze.py b/esc-reporting/esc-analyze.py
index 22082f0..17b9f15 100755
--- a/esc-reporting/esc-analyze.py
+++ b/esc-reporting/esc-analyze.py
@@ -69,7 +69,7 @@ def util_load_file(fileName):
 def util_load_csv(fileName, split):
     global statList
     rawData = {}
-    with open(fileName, 'r') as fp:
+    with open(fileName, 'r', encoding='utf-8') as fp:
       fp.readline()
       fp.readline()
       for line in fp:


More information about the Libreoffice-commits mailing list