Skip to content

armgit / solr

Public Imported from GitHub
0

Apache Solr open-source search software

Fix build breakage on Windows (#4072)

Rahul Goswami2ec9c974b259
diff --git a/gradle/documentation/changes-to-html/changes2html.py b/gradle/documentation/changes-to-html/changes2html.py
index 67c2bbb592c..8ecb4832b22 100755
--- a/gradle/documentation/changes-to-html/changes2html.py
+++ b/gradle/documentation/changes-to-html/changes2html.py
@@ -771,6 +771,7 @@ def main():
html = generator.generate(parser.releases, parser.title, parser.preamble)
# Output
+ sys.stdout.reconfigure(encoding='utf-8') #UTF-8 encoding for Windows compatibility
print(html)