|
邮件的传输编码即Content-Transfer-Encoding字段包括:
Content-Transfer-Encoding: 7bit
Content-Transfer-Encoding: 8bit
Content-Transfer-Encoding: base64
Content-Transfer-Encoding: binary
Content-Transfer-Encoding: quoted-printable
其中:
'7bit', '8bit', and 'binary' mean that no binary-to-text encoding on top of the original encoding was used.
base64,quoted-printable – used to encode arbitrary octet sequences into a form that satisfies the rules of 7bit.
现在我要捕获网络上的邮件数据包,还原出原始数据,我是这样认为的:对于base64,quoted-printable我需要相应的解码函数才能还原出原始数据,对于其他三种是不是不需要任何处理,直接就是原始数据呢,其中binary在什么情况下才会采用这种编码呢?对此我有些疑问,请大家帮我解答一下,谢谢! |
|