issue in vm-reencode-mime-encoded-words with whitespace
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
VM |
Triaged
|
Medium
|
Uday Reddy |
Bug Description
It can happen that vm-reencode-
For instance, the string "fóó bàr" will typically be encoded to something similar to "=?iso-
vm-reencode-
When this string is further decoded, whitespace is stripped by the following code in
vm-decode-
vm-mime.el:1045
;; suppress whitespace between encoded words.
(and previous-end
(string-match "\\`[ \t\n]*\\'"
(setq match-start previous-end))
I fixed the problem by encoding all characters in vm-reencode-
This may be overkill, but the advantage is that the fix is simple and robust :) See attached patch.
Note: I understand my description of the problem is probably unclear :) I can provide a real e-mail with problematic headers if needed.
Is this a duplicate of Bug 1003975?