chiark
/
gitweb
/
~cjwatson
/
blog.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0bca7d7
)
Fix encoding error on Windows
author
Arvid Gerstmann
<dev@arvid-g.de>
Sat, 10 Feb 2018 08:06:45 +0000
(09:06 +0100)
committer
Arvid Gerstmann
<dev@arvid-g.de>
Sat, 10 Feb 2018 08:06:45 +0000
(09:06 +0100)
doxygen/dox2html5.py
patch
|
blob
|
history
diff --git
a/doxygen/dox2html5.py
b/doxygen/dox2html5.py
index 70a2d0cfb40f3b622e72c4cd1766ae477e2bee5f..5871616e93c0293394d99eed81d95309ae616857 100755
(executable)
--- a/
doxygen/dox2html5.py
+++ b/
doxygen/dox2html5.py
@@
-2743,8
+2743,8
@@
def run(doxyfile, templates=default_templates, wildcard=default_wildcard, index_
**state.doxyfile)
output = os.path.join(html_output, parsed.compound.url)
- with open(output, 'w') as f:
- f.write(rendered)
+ with open(output, 'w
b
') as f:
+ f.write(rendered
.encode('utf-8')
)
# Empty index page in case no mainpage documentation was provided so
# there's at least some entrypoint. Doxygen version is not set in this