Skip to content

Commit

Permalink
fix: use utf-8 encoding when running puya from compile_all_examples.py
Browse files Browse the repository at this point in the history
  • Loading branch information
daniel-makerx committed Dec 8, 2023
1 parent 947bc86 commit f760e5c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions scripts/compile_all_examples.py
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,7 @@ def checked_compile(p: Path, flags: list[str], *, write_logs: bool) -> Compilati
stderr=subprocess.STDOUT,
text=True,
env=ENV_WITH_NO_COLOR,
encoding="utf-8",
)
final_ir_written = re.findall(r"debug: Output IR to (.+\.final\.ir)", result.stdout)
final_ir_written += re.findall(r"debug: Output IR to (.+\.final_par\.ir)", result.stdout)
Expand Down

0 comments on commit f760e5c

Please sign in to comment.