郁闷,最近刚接触到thinPHP,遇到一个问题,就是index.html包含header.html乱码,这是为什么呢?求解!!!
     
     这是header.html中的代码:
 
     <table width="562" border="1" align="center">
<tr>
    <td colspan="2" align="center">你好</td>
</tr>
<tr>
    <td width="230" align="right"><a href="__URL__/index">浏览留言</a></td>
    <td width="230" align="left"><a href="__URL__/add">发布留言</a></td>
  </tr>
    </table>
    
    
    这是index.html中的代码:
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>嘉鸿星空系统</title>
<link rel="stylesheet" type="text/css" href="/css/index.css"/>
<script type="text/javascript" src="/jquery/jquery-1.4.4.min.js"></script>
<script type="text/javascript" src="/js/index.js"></script>
</head>
<body>
<include file="Index:header"/>
</body>
</html> 
           不知为什么,include导入了header.html,会出现乱码!!!