add explanation in comments

This commit is contained in:
Guilhem Fauré 2023-05-11 11:38:38 +02:00
parent 995fee5b6a
commit 4141c10bfc

View File

@ -139,10 +139,6 @@ mappings = (
re.compile("ˆ"), re.compile("ˆ"),
r"ü", r"ü",
), ),
( # WARNING Fix UTF-8 é ? that was interpreted as ISO 8859-1 and saved like so
re.compile(""),
r"é",
),
( # Fix UTF-8 é that was interpreted as ISO 8859-1 and saved like so ( # Fix UTF-8 é that was interpreted as ISO 8859-1 and saved like so
re.compile("à"), re.compile("à"),
r"à", r"à",
@ -179,6 +175,11 @@ mappings = (
re.compile("†"), re.compile("†"),
r"", r"",
), ),
## WARNING unknown or not sure
( # Fix UTF-8 é that was interpreted as ISO 8859-1 and saved like so
re.compile(""),
r"é",
),
( # Delete unknown 
 ( # Delete unknown 

re.compile("
"), re.compile("
"),
r"", r"",