php header utf8

PHP文件插入header("Content-type: text/html; charset=utf-8");

相当于页面里面的<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
原文地址:https://www.cnblogs.com/shaoing/p/5624143.html