Emails fail to parse with unknown encoding: unknown-8bit
Traceback:
File "patchwork/bin/parsemail.py" in main
948. return parse_mail(mail)
File "patchwork/bin/parsemail.py" in parse_mail
805. project = find_project(mail)
File "patchwork/bin/parsemail.py" in find_project
125. (_, prefixes) = clean_subject(mail.get('Subject'))
File "patchwork/bin/parsemail.py" in clean_subject
640. subject = clean_header(subject)
File "patchwork/bin/parsemail.py" in clean_header
90. fragments = list(map(decode, decode_header(header)))
File "patchwork/bin/parsemail.py" in decode
85. return frag_str.decode(frag_encoding)
Exception Type: LookupError
Exception Value: unknown encoding: unknown-8bit
Example offending email: https://lists.freedesktop.org/archives/intel-gfx/2020-May/240360.html
Reason: Subject: =?unknown-8bit?q?Re=3A_=5BIntel-gfx=5D__=E2=9C=97_Fi=2ECI=2EIGT=3A_failure_for_Consider_DBuf_bandwidth_when_calculating_CDCLK_=28rev18=29?=
Client: User-Agent: alot/0.8.1