我在 php 文件中定义编码:
header("Content-Type:text/html;charset=utf-8");
现在我在我的模板文件中写了一个链接( smarty )
<a href="http://www.test.cn/maternal_and_child/lists/中文测试">Link</a>
顺便说一句,“中文测试”是中文的。但是当我点击链接时,它会返回如下错误:
The requested URL /maternal_and_child/app/webroot/lists/准备怀å•-优生优育 was not found on this server.
我该如何解决?