[elbe-devel] [PATCH] elbepack: licencexml: print licences xml as utf-8

Thomas Weißschuh thomas.weissschuh at linutronix.de
Wed Jul 10 13:01:23 CEST 2024


There is no reason not to use utf-8 in 2024.

Signed-off-by: Thomas Weißschuh <thomas.weissschuh at linutronix.de>
---
 elbepack/licencexml.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/elbepack/licencexml.py b/elbepack/licencexml.py
index 237c098aea8e..ce5d6c199193 100644
--- a/elbepack/licencexml.py
+++ b/elbepack/licencexml.py
@@ -128,4 +128,4 @@ class copyright_xml:
         return
 
     def write(self, fname):
-        self.outxml.write(fname, encoding='iso-8859-1')
+        self.outxml.write(fname, encoding='utf-8')

---
base-commit: 37f0b5f2794e2eb1c58089a8559c126a45b7c13d
change-id: 20240710-parselicence-utf-8-86176c167af9

Best regards,
-- 
Thomas Weißschuh <thomas.weissschuh at linutronix.de>



More information about the elbe-devel mailing list