From f600aa60940dc56833f083d68568b8cd92f8b5f7 Mon Sep 17 00:00:00 2001 From: Uwe Schindler Date: Mon, 30 Jul 2012 15:31:45 +0000 Subject: [PATCH] fix encoding in javadocs checker git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1367120 13f79535-47bb-0310-9956-ffa450edef68 --- dev-tools/scripts/checkJavaDocs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-tools/scripts/checkJavaDocs.py b/dev-tools/scripts/checkJavaDocs.py index 4a416fb03fd..459341b5440 100644 --- a/dev-tools/scripts/checkJavaDocs.py +++ b/dev-tools/scripts/checkJavaDocs.py @@ -23,7 +23,7 @@ reMarkup = re.compile('<.*?>') def checkSummary(fullPath): printed = False - f = open(fullPath) + f = open(fullPath, encoding='UTF-8') anyMissing = False sawPackage = False desc = []