summaryrefslogtreecommitdiffstats
path: root/core/input/input_builders.py
diff options
context:
space:
mode:
Diffstat (limited to 'core/input/input_builders.py')
-rw-r--r--core/input/input_builders.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/input/input_builders.py b/core/input/input_builders.py
index eabdefe543..ae848f4e7c 100644
--- a/core/input/input_builders.py
+++ b/core/input/input_builders.py
@@ -13,7 +13,7 @@ def make_default_controller_mappings(target, source, env):
# ensure mappings have a consistent order
platform_mappings: dict = OrderedDict()
for src_path in source:
- with open(str(src_path), "r") as f:
+ with open(str(src_path), "r", encoding="utf-8") as f:
# read mapping file and skip header
mapping_file_lines = f.readlines()[2:]