消息头之间的区别:Content-Type:charset =" UTF-8"和内容传输编码:8位

时间:2015-02-06 10:41:54

标签: email smtp

我收到了一些邮件,但我对这些标题感到困惑:

Content-Type: text/plain;
    format=flowed;
    charset="UTF-8";
    reply-type=response
Content-Transfer-Encoding: 8bit

如果已指定Content-Type: charset="UTF-8",那么为什么我们需要Content-Transfer-Encoding: 8bit

1 个答案:

答案 0 :(得分:1)

因为你也可以:

Content-Type:text / plain;字符集= utf-8的 Content-Transfer-Encoding:base64

charset独立于内容编码。