这样写一个包含文件,为啥中文部分出现乱码
一共两个文件:
A,index.php文件的代码:
<!-- Code highlighting produced by Actipro CodeHighlighter (freeware) http://www.CodeHighlighter.com/ --> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <?php require("/title.php"); ?> ...test.....
<!-- Code highlighting produced by Actipro CodeHighlighter (freeware) http://www.CodeHighlighter.com/ --> <?php header(“Content-Type: text/html; charset=utf-8") ?> <title>中文标题(beta 1.0)----Powered by Aloesky</title> <meta name="keywords" content=""> <meta name="description" content=""> <link href="../css/css.css" rel="stylesheet" type="text/css"> <link href="../css/menu.css" rel="stylesheet" type="text/css">