diff options
Diffstat (limited to 'mesonbuild/templates/mesontemplates.py')
-rw-r--r-- | mesonbuild/templates/mesontemplates.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mesonbuild/templates/mesontemplates.py b/mesonbuild/templates/mesontemplates.py index 4c4d66f..a29ac6f 100644 --- a/mesonbuild/templates/mesontemplates.py +++ b/mesonbuild/templates/mesontemplates.py @@ -71,5 +71,5 @@ def create_meson_build(options: argparse.Namespace) -> None: sourcespec=sourcespec, depspec=depspec, default_options=formatted_default_options) - open('meson.build', 'w').write(content) + open('meson.build', 'w', encoding='utf-8').write(content) print('Generated meson.build file:\n\n' + content) |