You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by mi...@apache.org on 2012/07/03 18:48:08 UTC
svn commit: r1356824 -
/lucene/dev/trunk/dev-tools/scripts/checkJavadocLinks.py
Author: mikemccand
Date: Tue Jul 3 16:48:07 2012
New Revision: 1356824
URL: http://svn.apache.org/viewvc?rev=1356824&view=rev
Log:
assume UTF8 encoding when reading javadocs HTML
Modified:
lucene/dev/trunk/dev-tools/scripts/checkJavadocLinks.py
Modified: lucene/dev/trunk/dev-tools/scripts/checkJavadocLinks.py
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/dev-tools/scripts/checkJavadocLinks.py?rev=1356824&r1=1356823&r2=1356824&view=diff
==============================================================================
--- lucene/dev/trunk/dev-tools/scripts/checkJavadocLinks.py (original)
+++ lucene/dev/trunk/dev-tools/scripts/checkJavadocLinks.py Tue Jul 3 16:48:07 2012
@@ -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()