assume UTF8 encoding when reading javadocs HTML

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1356824 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Michael McCandless 2012-07-03 16:48:07 +00:00
parent dae7f3e56a
commit b4080ca7e5
1 changed files with 1 additions and 1 deletions

View File

@ -128,7 +128,7 @@ def checkAll(dirName):
# deprecated-list.html can fail to escape generics types
fullPath = 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()