netforce 发表于 2010-11-9 10:10:34

关于邮件传输编码的一些疑问

邮件的传输编码即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在什么情况下才会采用这种编码呢?对此我有些疑问,请大家帮我解答一下,谢谢!

netforce 发表于 2010-11-9 20:45:47

悲剧了,没人指点指点啊:L

jsf 发表于 2011-12-1 14:42:59

果然是十足的悲剧
页: [1]
查看完整版本: 关于邮件传输编码的一些疑问