Apache Lucene open-source search software
assume UTF8 encoding when reading javadocs HTML
Michael McCandlessb4080ca7e5f3
diff --git a/dev-tools/scripts/checkJavadocLinks.py b/dev-tools/scripts/checkJavadocLinks.pyindex 74a626b5c31..9bac5c60661 100644--- a/dev-tools/scripts/checkJavadocLinks.py+++ b/dev-tools/scripts/checkJavadocLinks.py@@ -128,7 +128,7 @@ def checkAll(dirName):# deprecated-list.html can fail to escape generics typesfullPath = os.path.join(root, f)#print ' %s' % fullPath- allFiles[fullPath] = parse(fullPath, open('%s/%s' % (root, f)).read())+ allFiles[fullPath] = parse(fullPath, open('%s/%s' % (root, f), encoding='UTF-8').read())# ... then verify:print()