VM

Comment 5 for bug 1186772

Revision history for this message
Anthony Mallet (anthony-mallet-k) wrote :

I agree that encoding full sentences like in my patch is borderline. Still, I read in RFC2047 this (end of page 7):
``Only printable and white space character data should be encoded using this scheme.''
which makes me think that whitespace is special...

Actually, I first tried to suppress the whitespace removal in vm-mime.el:1045 (see code excerpt above), and this also fixed the issue regarding the subject line.

However, I also received e-mails where the subject header had whitespace between encoded words (namely newlines) that actually required to be stripped. This matches this excerpt from RFC2047 (page 9) :
``When displaying a particular header field that contains multiple
   'encoded-word's, any 'linear-white-space' that separates a pair of
   adjacent 'encoded-word's is ignored.''
This makes me think that vm-mail.el:1045 and follwing lines is correct.