From 4805d50e05453db0b451f109f6ad9c980bbb481a Mon Sep 17 00:00:00 2001
From: Johan Holmberg <holmberg556@gmail.com>
Date: Mon, 15 Jun 2015 21:48:52 +0200
Subject: [PATCH] use 'utf-8' reading 'CMDTEST_*.py'

---
 python/cmdtest.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/python/cmdtest.py b/python/cmdtest.py
index 621e6d3..d483659 100755
--- a/python/cmdtest.py
+++ b/python/cmdtest.py
@@ -473,7 +473,7 @@ class Tclass:
 class Tfile:
     def __init__(self, filename):
         try:
-            with open(filename) as f:
+            with open(filename, encoding='utf-8') as f:
                 co = compile(f.read(), filename, "exec")
         except IOError as e:
             print("cmdtest: error: failed to read %s" % filename,