Skip to content

Commit

Permalink
BUG: Meson introspection data is UTF-8 encoded
Browse files Browse the repository at this point in the history
  • Loading branch information
dnicolodi authored and rgommers committed May 1, 2024
1 parent 8b52a7b commit 6c728bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mesonpy/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -818,7 +818,7 @@ def build(self) -> None:
def _info(self, name: str) -> Any:
"""Read info from meson-info directory."""
info = self._build_dir.joinpath('meson-info', f'{name}.json')
return json.loads(info.read_text())
return json.loads(info.read_text(encoding='utf-8'))

@property
def _manifest(self) -> DefaultDict[str, List[Tuple[pathlib.Path, str]]]:
Expand Down

0 comments on commit 6c728bd

Please sign in to comment.