sup-heliotrope / sup

A curses threads-with-tags style email client (mailing list: supmua@googlegroups.com)
http://sup-heliotrope.github.io
GNU General Public License v2.0
889 stars 96 forks source link

handle UTF-7 #600

Closed danc86 closed 2 years ago

danc86 commented 2 years ago

I received some spam with UTF-7 RFC2047 in the Subject header. Yet another spam filter evasion technique, presumably.

Decode it for completeness rather than crashing:

Encoding::ConverterNotFoundError: code converter not found (UTF-7 to UTF-8)