unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
* encoding of message-ids
@ 2016-02-16 12:38 David Bremner
  2016-02-16 19:02 ` Daniel Kahn Gillmor
  0 siblings, 1 reply; 4+ messages in thread
From: David Bremner @ 2016-02-16 12:38 UTC (permalink / raw)
  To: notmuch


I spent a little time this morning staring at the code, and it seems
that all of the message-ids are parsed via g_mime_decode_text, which
deals with RFC2047 encodings and makes guesses at decoding 8bit
characters. In practice this means that in the notmuch database all
headers are UTF-8. Since message-id's are supposed to be printable ascii
[at least in rfc5322], this seems like not such a terrible decision, but
I wonder if we should document this potential conversion somewhere?

d

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2016-02-24 17:23 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-02-16 12:38 encoding of message-ids David Bremner
2016-02-16 19:02 ` Daniel Kahn Gillmor
2016-02-17 13:34   ` David Bremner
2016-02-24 17:15     ` W. Trevor King

Code repositories for project(s) associated with this public inbox

	https://yhetil.org/notmuch.git/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).