From 7d797ddde37b506e3b4836fa76ea89484f488b79 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9o=20Baras?= Date: Tue, 30 Mar 2021 09:23:41 +0200 Subject: [PATCH] =?UTF-8?q?R=C3=A9solution=20pb=20encodage=20dans=20yaml?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- python/ressource.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/ressource.py b/python/ressource.py index cc93bb9..6e8d285 100644 --- a/python/ressource.py +++ b/python/ressource.py @@ -53,7 +53,7 @@ class Ressource(): "contenu": self.contenu, "motscles": self.mots } - output = yaml.dump(dico, Dumper=yaml.Dumper, sort_keys=False) + output = yaml.dump(dico, Dumper=yaml.Dumper, sort_keys=False, allow_unicode=True) return output def to_latex(self):