Skip to content

Commit

Permalink
Explicitly set encoding when opening files in system_doxygen.py (Robo…
Browse files Browse the repository at this point in the history
  • Loading branch information
jamiesnape authored Jan 15, 2021
1 parent 3289b4f commit f20d676
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/system_doxygen.py
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ def process_doxygen_system_tags(s):
raise RuntimeError(f"Wrong number of arguments.\n{__doc__}")

# Load the file in batch into a string.
with open(sys.argv[1], 'r') as f:
with open(sys.argv[1], 'r', encoding='utf-8') as f:
s = f.read()

s = process_doxygen_system_tags(s)
Expand Down

0 comments on commit f20d676

Please sign in to comment.