[Material] Respect unicode filenames

Fixes #4027
This commit is contained in:
luz.paz
2019-06-18 09:41:14 -04:00
committed by Bernd Hahnebach
parent ebe3a2925f
commit 13443ca27f

View File

@@ -70,7 +70,7 @@ def importFCMat(fileName):
)
Config = configparser.RawConfigParser()
Config.optionxform = str
Config.read(fileName)
Config.read(fileName, encoding='utf-8') # respect unicode filenames
dict1 = {}
for section in Config.sections():
options = Config.options(section)