vm team mailing list archive
-
vm team
-
Mailing list archive
-
Message #00147
[Bug 323979] Re: [PATCH] vm-mime.el:vm-mime-encode-words creates garbled X-VM-v5-Data
Actually, I put quotes around your (Ulrich's) name in utf-8 in one of
the messages, saved it and loaded it back into VM. The VM-v5-Data
header had the quote marks inside the utf-8 bits, and VM seems to have
handled it without any problem. So, the problem reported here was
probably a consequence of the other VM-v5-Data problems which are now
fixed. So, I think we can ignore this bug report unless Marcin comes
back with some new information. I am changing the status to
"incomplete".
** Changed in: vm/trunk
Milestone: 8.1.0-beta => None
** Changed in: vm/8.0.x
Status: In Progress => Incomplete
** Changed in: vm/trunk
Status: In Progress => Incomplete
** Changed in: viewmail
Status: In Progress => Incomplete
--
[PATCH] vm-mime.el:vm-mime-encode-words creates garbled X-VM-v5-Data
https://bugs.launchpad.net/bugs/323979
You received this bug notification because you are a member of VM
development team, which is the registrant for VM (defunct).
Status in VM - Goto http://launchpad.net/vm for active development: Incomplete
Status in VM (View Mail) for Emacs: Incomplete
Status in VM 8.0.x series: Incomplete
Status in VM trunk series: Incomplete
Bug description:
VM 8.0.12
X-VM-v5-Data is encoded by vm-mime.el:vm-mime-encode-words,
unfortunately, it is not aware of quote marks, so when it encounters
a string:
"\"Wechikuł czasu"\" it encodes it as follows:
"=?utf-8?Q?\"Wehiku=C5=82 czasu\"?="
As You can notice, quote marks are inside, making this string impossible to
evaluate later.
My proposed fix is to change vm-vars.el:vm-mime-encode-headers-words-regexp so it doesn't span over " marks.
(see patch)
After this change, string is encoded as follows:
"\"=?utf-8?Q?Wehiku=C5=82?= czasu\""