read fea files with encoding utf-8
see https://github.com/adobe-type-tools/afdko/issues/165
This commit is contained in:
parent
08c006071b
commit
cffbfeeca1
@ -443,7 +443,7 @@ class UFOReader(object):
|
||||
path = os.path.join(self._path, FEATURES_FILENAME)
|
||||
if not self._checkForFile(path):
|
||||
return ""
|
||||
with open(path, "r") as f:
|
||||
with open(path, "r", encoding="utf-8") as f:
|
||||
text = f.read()
|
||||
return text
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user