diff options
Diffstat (limited to 'core/input/input_builders.py')
-rw-r--r-- | core/input/input_builders.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/input/input_builders.py b/core/input/input_builders.py index 94c566493e..71238d6003 100644 --- a/core/input/input_builders.py +++ b/core/input/input_builders.py @@ -9,7 +9,7 @@ from collections import OrderedDict def make_default_controller_mappings(target, source, env): dst = target[0] - g = open(dst, "w") + g = open(dst, "w", encoding="utf-8", newline="\n") g.write("/* THIS FILE IS GENERATED DO NOT EDIT */\n") g.write('#include "core/typedefs.h"\n') |