diff options
-rw-r--r-- | python/servo/command_base.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/python/servo/command_base.py b/python/servo/command_base.py index 2ad49d1097d..fe4ed85cc83 100644 --- a/python/servo/command_base.py +++ b/python/servo/command_base.py @@ -273,7 +273,7 @@ class CommandBase(object): config_path = path.join(context.topdir, ".servobuild") if path.exists(config_path): - with open(config_path) as f: + with open(config_path, "r", encoding="utf-8") as f: self.config = toml.loads(f.read()) else: self.config = {} |