From 62909ad27c48278ee31e098a4503e5b983185427 Mon Sep 17 00:00:00 2001 From: Magnus Hagander Date: Fri, 6 Jul 2012 17:28:21 +0200 Subject: Badly encoded name of encoding :O --- loader/lib/parser.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'loader/lib/parser.py') diff --git a/loader/lib/parser.py b/loader/lib/parser.py index 6886723..c32775f 100644 --- a/loader/lib/parser.py +++ b/loader/lib/parser.py @@ -106,6 +106,9 @@ class ArchivesParser(object): if lcharset == 'pt_pt' or lcharset == 'de_latin' or lcharset == 'de': # This is a locale, and not a charset, but most likely it's this one return 'iso-8859-1' + if lcharset == 'ýso-8859-1': + # Nice mis-encoding. But shows up for several mails... + return 'iso-8859-1' if lcharset == 'iso-8858-15': # How is this a *common* mistake? return 'iso-8859-15' -- cgit v1.2.3