[Imap-protocol] [noob] fetch envelope charset?
petite_abeille at mac.com
Sun Nov 20 06:48:40 PST 2011
Given a fetch envelope command, what character set encoding can the response be in?
For example, say the subject is originally encoded as =?iso-8859-1?Q?H=F3la!?=, which is Hóla! in UTF-8.
What can one put in the subject part of the envelope?
Does it have to be the original value (=?iso-8859-1?Q?H=F3la!?=)?
Could it be the literal UTF-8 value (Hóla!)?
Could it be the q-encoded UTF-8 value (=?UTF-8?Q?H=C3=83=C2=B3la!?=)?
Could it be the UTF-7 encoded UTF-8 value (H+APM-la+ACE-)?
I'm really confused about what character set encoding IMAP is expecting and where. Is there perhaps a FAQ to complement the RFC that summarizes what applies where?
Thanks in advance.
More information about the Imap-protocol