1.如果是外部调用

<script language="javascript" type="text/javascript" src="tswcypy.js"></script>

2.确定页面编码一致

3.html头里加入

<meta http-equiv="Content-Type" content="text/html;charset=UTF-8" /> 

4..在controller里面加入

public function _initialize()    {
        header("Content-Type:text/html; charset=utf-8");
    }


 

相关文章:

  • 2022-12-23
  • 2021-12-04
  • 2022-01-01
  • 2021-12-15
  • 2021-11-02
  • 2021-11-06
  • 2021-05-10
  • 2021-06-06
猜你喜欢
  • 2022-01-19
  • 2022-12-23
  • 2021-10-17
  • 2022-12-23
  • 2021-08-03
  • 2021-11-15
  • 2022-12-23
相关资源
相似解决方案