diff options
author | Magnus Hagander | 2012-07-06 15:28:21 +0000 |
---|---|---|
committer | Magnus Hagander | 2012-07-06 15:28:21 +0000 |
commit | 62909ad27c48278ee31e098a4503e5b983185427 (patch) | |
tree | 08f9f78a571031b748d9bf8365347cc6d2b95647 /loader/lib/parser.py | |
parent | 7675746f98198b7917bb433a2191262e81e8fe29 (diff) |
Badly encoded name of encoding :O
Diffstat (limited to 'loader/lib/parser.py')
-rw-r--r-- | loader/lib/parser.py | 3 |
1 files changed, 3 insertions, 0 deletions
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' |