[BUG] Saving attachments containing UTF-8 chars
Michael Stapelberg
michael+nm at stapelberg.de
Mon Oct 29 06:30:17 PDT 2012
Hello,
attached you can find a message which seems to trigger a bug somewhere
in my notmuch setup. The message has been sent to me and includes a
patchfile, which, when saved using the "w" key in notmuch-emacs, cannot
be applied.
When using munpack(1) on the raw mail file (I’ve attached rawmail.gz
just to be sure that the message doesn’t get mangled in some way), the
unpacked attachment can be attached just fine.
When diff'ing both files, I see that munpack correctly stores the file,
including the problematic UTF-8 apostrophe:
00000200 67 3b 20 64 69 64 6e e2 80 99 74 20 72 65 61 64 |g; didn...t read|
However, the version of the file saved with notmuch contains:
00000200 67 3b 20 64 69 64 6e 19 74 20 72 65 61 64 22 20 |g; didn.t read" |
If there is anything I can do to help debugging this (or if there is a
known fix), please let me know.
-------------- next part --------------
An embedded message was scrubbed...
From: Conley Moorhous <conleymoorhous at gmail.com>
Subject: Re: User Guide Chapter 6 typo
Date: Thu, 25 Oct 2012 09:59:50 -0500
Size: 9355
URL: <http://notmuchmail.org/pipermail/notmuch/attachments/20121029/ee441e65/attachment.mht>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: rawmail.gz
Type: application/octet-stream
Size: 3762 bytes
Desc: not available
URL: <http://notmuchmail.org/pipermail/notmuch/attachments/20121029/ee441e65/attachment.obj>
More information about the notmuch
mailing list