用fanso模版出现乱码呢,怎么办啊?

用fanso模版出现乱码呢,怎么办啊?

模版文件---example.html

[复制到剪切板]
CODE:
<html>
<
head>
<
meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<
title>fanso模板示例</title>
</
head>

<
body>
{
$lang.name}的网址是:<a href="{$lang.url}">{$lang.url}</a>
</
body>
</
html> ;

PHP代码

[复制到剪切板]
CODE:
<?php 
require('libs/fanso.class.php');
$fanso = new Fanso;

$web['name'] = 'php爱好者';
$web['url'] = 'http://www.phpfans.net';

$fanso->assign('lang',$web);
$fanso->display('example.html');
?> ;


输入结果

牡耐?肥牵?a href="?>?/a>


请问这是怎么回事呢

这个代码我这边没事啊。是不是你浏览器设置了其他编码?
如履薄冰