inject: Decode subject line before storing the email.
authorRichard W.M. Jones <rjones@redhat.com>
Fri, 7 Jul 2017 09:30:10 +0000 (10:30 +0100)
committerRichard W.M. Jones <rjones@redhat.com>
Fri, 7 Jul 2017 09:31:09 +0000 (10:31 +0100)
commit382b9d21cffeec257b03017162e472b5d451f739
tree8e1519f754afbab18bfb1d0c27a9a32915ed357a
parent5987fa80bcdf04d57e279e5046dd14e6ccd854d8
inject: Decode subject line before storing the email.

Decoding Subject lines is a PITA in Python.  Do it once when injecting
the email, and store the subject lines as UTF-8.  This saves a lot of
effort later on, even though it's not strictly RFC compliant.
inject-mbox.py