From 017f19ced728e2cb812b1b4b3af0ef352a2b7027 Mon Sep 17 00:00:00 2001 From: Vincent Le Gallic Date: Mon, 21 May 2012 18:15:10 +0200 Subject: [PATCH] Une jolie apostrophe --- remplace_accents.py | 1 + 1 file changed, 1 insertion(+) diff --git a/remplace_accents.py b/remplace_accents.py index 85ba24e..440a9c0 100644 --- a/remplace_accents.py +++ b/remplace_accents.py @@ -6,6 +6,7 @@ def remplace_accents(chaine): remplacements = { + u"’":u"'", u"á":u"a", u"à":u"a", u"â":u"a", u"ä":u"a", u"Á":u"A", u"À":u"A", u"Â":u"A", u"Ä":u"A", u"é":u"e", u"è":u"e", u"ê":u"e", u"ë":u"e", -- 2.39.2