繁体   English   中英

消息头的区别:Content-Type: charset="UTF-8" 和 Content-Transfer-Encoding: 8bit

[英]Difference between message headers: Content-Type: charset=“UTF-8” and Content-Transfer-Encoding: 8bit

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

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

因为您还可以拥有:

Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: base64

字符集独立于内容编码。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM