We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8b52a7b commit 6c728bdCopy full SHA for 6c728bd
mesonpy/__init__.py
@@ -818,7 +818,7 @@ def build(self) -> None:
818
def _info(self, name: str) -> Any:
819
"""Read info from meson-info directory."""
820
info = self._build_dir.joinpath('meson-info', f'{name}.json')
821
- return json.loads(info.read_text())
+ return json.loads(info.read_text(encoding='utf-8'))
822
823
@property
824
def _manifest(self) -> DefaultDict[str, List[Tuple[pathlib.Path, str]]]:
0 commit comments