//纯文本的utf8编码
header("Content-Type: text/plain;charset=utf8");
//html的utf8编码
header("Content-Type: text/html;charset=utf8");
//纯文本的gb2312编码
header("Content-Type: text/plain;charset=gb2312");
//html的gb2312编码
header("Content-Type: text/html;charset=gb2312");