From: Vincent Le Gallic Date: Mon, 21 May 2012 16:15:10 +0000 (+0200) Subject: Une jolie apostrophe X-Git-Url: http://gitweb.pimeys.fr/?a=commitdiff_plain;h=017f19ced728e2cb812b1b4b3af0ef352a2b7027;p=bots%2Fdeconnaisseur.git Une jolie apostrophe --- 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",