[Imap-protocol] Decoding RFC2047-encoded data from ENVELOPE fields

Jan Kundrát <[email protected]>
Newsgroups gmane.mail.imap.general
Message-ID <[email protected]>
Hi,
I'm writing some test cases for my RFC2047 decoder. It is used only for 
decoding of data which come from IMAP's ENVELOPE fetch item, so it 
doesn't deal with stuff like comments.

What's the correct decoding of "Domen =?UTF-8?Q?Ko=C5=BEar?=" -- is the 
space found after "Domen" in the input to be included in the decoded 
output? This is a real example of what Evolution 2.30.2 produces (my 
apologies to Domen for bringing the attention to his mail). Thunderbird 
renders that as two words separated by space.

I'm asking because an example in the RFC says that this:
	"(=?ISO-8859-1?Q?a?= b)"
shall decode into "(ab)". There's no example for the other order of 
elements.

Cheers,
Jan

-- 
Trojita, a fast e-mail client -- http://trojita.flaska.net/
_______________________________________________
Imap-protocol mailing list
[email protected]
http://mailman2.u.washington.edu/mailman/listinfo/imap-protocol
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.