From 50eb22e34337040939182d74d6e69e64830b7835 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= Date: Tue, 19 May 2020 12:25:21 +0100 Subject: [PATCH] scripts: use UTF-8 for API XML files MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The build system will be running in UTF-8 locale, so any content in the API XML files will also end up being UTF-8, not ISO-8859-1. Reviewed-by: Michal Privoznik Signed-off-by: Daniel P. Berrangé --- scripts/apibuild.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/apibuild.py b/scripts/apibuild.py index 05a169c30d..b13b5db644 100755 --- a/scripts/apibuild.py +++ b/scripts/apibuild.py @@ -2333,7 +2333,7 @@ class docBuilder: if not quiet: print("Saving XML description %s" % (filename)) output = open(filename, "w") - output.write('\n') + output.write('\n') output.write("\n" % self.name) output.write(" \n") headers = sorted(self.headers.keys()) -- GitLab