From 4141c10bfcbd5a1e81d6f98145c35871fa08bf1c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Guilhem=20Faur=C3=A9?= Date: Thu, 11 May 2023 11:38:38 +0200 Subject: [PATCH] add explanation in comments --- spip2md/convert.py | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/spip2md/convert.py b/spip2md/convert.py index f986151..b1cb1e6 100644 --- a/spip2md/convert.py +++ b/spip2md/convert.py @@ -139,10 +139,6 @@ mappings = ( re.compile("ü"), r"ü", ), - ( # WARNING Fix UTF-8 é ? that was interpreted as ISO 8859-1 and saved like so - re.compile("eÌ "), - r"é", - ), ( # Fix UTF-8 é that was interpreted as ISO 8859-1 and saved like so re.compile("aÌ€"), r"à", @@ -179,6 +175,11 @@ mappings = ( re.compile("†"), r"† ", ), + ## WARNING unknown or not sure + ( # Fix UTF-8 é that was interpreted as ISO 8859-1 and saved like so + re.compile("eÌ "), + r"é", + ), ( # Delete unknown 
 re.compile("
"), r"",