manusa / isotope-mail

Isotope Mail Client
https://blog.marcnuri.com/isotope-mail-client-introduction/
Apache License 2.0
233 stars 43 forks source link

Subject garbled (encoded) =?UTF-8?Q? #137

Closed manusa closed 5 years ago

manusa commented 5 years ago

Some encoding problems have been detected in message subjects

Wrong encoded literals are shown instead of real subject =?UTF-8?Q?...

Subjects can be RFC 2047 / RFC 2231 "encoded-words", should be decoded using MimeUtility#decodeWord.

manusa commented 5 years ago

Most probably is a false positive from a malformed messages, IMAPMessage#getSubject already decodes the subject.

Thunderbird shows message fine and "re-decoding" the message through MimeUtility#decodeWord also helps showing the message fine, although it seems overkill.