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 = []