Skip to content

Commit

Permalink
specify md output encoding as utf-8
Browse files Browse the repository at this point in the history
  • Loading branch information
L4ys committed Apr 10, 2024
1 parent 2c7d41a commit ae4d395
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ghidriff/ghidra_diff_engine.py
Original file line number Diff line number Diff line change
Expand Up @@ -1713,7 +1713,7 @@ def _clean_func(func, max=30) -> str:
max_section_funcs=max_section_funcs,
title=md_title)

with md_path.open('w') as f:
with md_path.open('w', encoding='utf-8') as f:
f.write(diff_text)

if write_json:
Expand Down

0 comments on commit ae4d395

Please sign in to comment.