diff --git a/WebappConfig/content.py b/WebappConfig/content.py index a582396..62966d8 100644 --- a/WebappConfig/content.py +++ b/WebappConfig/content.py @@ -22,7 +22,7 @@ # Dependencies # ------------------------------------------------------------------------ -import hashlib, re, os, os.path +import hashlib, re, os, os.path, io from WebappConfig.debug import OUT from WebappConfig.permissions import PermissionMap @@ -139,7 +139,7 @@ def read(self): OUT.die('Content file ' + dbpath + ' is missing or not accessibl' 'e!') - content = open(dbpath).readlines() + content = io.open(dbpath, encoding='utf-8').readlines() for i in content: