Skip to content

Commit

Permalink
Supply encoding. Fixes #621. (#622)
Browse files Browse the repository at this point in the history
  • Loading branch information
jaraco authored Feb 17, 2023
1 parent 193643f commit 82376d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/furo/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -384,7 +384,7 @@ def _overwrite_pygments_css(
return

assert app.builder
with open(os.path.join(app.builder.outdir, "_static", "pygments.css"), "w") as f:
with open(os.path.join(app.builder.outdir, "_static", "pygments.css"), "w", encoding='utf-8') as f:
f.write(get_pygments_stylesheet())


Expand Down

0 comments on commit 82376d2

Please sign in to comment.