diff --git a/python/dumux/common/properties.py b/python/dumux/common/properties.py index 55d5d0a5ac62f731db36644aba8f5fb262f60469..545d15a0a2d085baf1fd9efbbc0ce0fd65190ddc 100644 --- a/python/dumux/common/properties.py +++ b/python/dumux/common/properties.py @@ -151,7 +151,7 @@ def predefinedProperties(): propertiesHeader = os.path.abspath( os.path.dirname(__file__) + "/../../../../dumux/common/properties.hh" ) - with open(propertiesHeader) as header: + with open(propertiesHeader, encoding="utf-8") as header: properties = [] for line in header: if line.startswith("struct"):