教程集 www.jiaochengji.com
教程集 >  脚本编程  >  php  >  正文 SMARTY 中文乱码解决方法

SMARTY 中文乱码解决方法

发布时间:2023-05-11   编辑:jiaochengji.com
教程集为您提供SMARTY 中文乱码解决方法等资源,欢迎您收藏本站,我们将为您提供最新的SMARTY 中文乱码解决方法资源

<!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=gb2312" />
<title>smarty 中文乱码解决方法</title>
</head>

<body>

你的模板文件是什么编码的?
你的php教程文件又是什么编码的?

html编码:<meta http-equiv="content-type" content="text/html; charset=gbk" />

</body>
</html>

您可能感兴趣的文章:
smarty获得当前url示例代码
smarty无法调用js脚本的解决方法
php模版生成html的小例子
有关smarty的基本设置
解决Jquery load()加载GB2312页面时出现乱码的两种方案
php网页标题中文乱码如何解决
smarty结合xajax检测用户名
有关smarty缓存的应用
smarty结合xajax检测用户名简单实例
用 Smarty 分离 PHP 应用程序中的形式与功能

[关闭]
~ ~