web.py 中文模版报错

1. 作为模板的html文件,必须是utf-8编码;
2. html文件内容中的charset必须为utf-8,也就是必须包含
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
posted @ 2015-01-19 12:02  BiboXie  阅读(171)  评论(0编辑  收藏  举报