Résolution pb encodage dans yaml

This commit is contained in:
Cléo Baras 2021-03-30 09:23:41 +02:00
parent 3aea174669
commit 7d797ddde3

View File

@ -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):