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:
17c2bfb
)
doxygen: parse the Doxyfile as UTF-8.
author
Vladimír Vondruš
<mosra@centrum.cz>
Wed, 22 Aug 2018 16:29:39 +0000
(18:29 +0200)
committer
Vladimír Vondruš
<mosra@centrum.cz>
Wed, 22 Aug 2018 16:30:23 +0000
(18:30 +0200)
Otherwise it blows up on Doxyfiles with non-ASCII characters when system
locale is not UTF-8.
doxygen/dox2html5.py
patch
|
blob
|
history
diff --git
a/doxygen/dox2html5.py
b/doxygen/dox2html5.py
index 8ab843dd644b40ad3a613744f18b61a369006880..7f3e8bb2cc1cb858710f422024ff6673a596d448 100755
(executable)
--- a/
doxygen/dox2html5.py
+++ b/
doxygen/dox2html5.py
@@
-2782,7
+2782,7
@@
list using <span class="m-label m-dim">↓</span> and
return [i.replace('\\"', '"').replace('\\\'', '\'') for i in out], backslash
- with open(doxyfile) as f:
+ with open(doxyfile
, encoding='utf-8'
) as f:
continued_line = None
for line in f:
line = line.strip()