`

ThinkPHP3 Redirect中文乱码

    博客分类:
  • PHP
 
阅读更多
header("Content-Type:text/html; charset=utf-8");
$this->redirect("Test/index", array("id"=>1),3, "乱码");

---------------------
要设定:header("Content-Type:text/html; charset=utf-8")
就不会出现乱码了。
















.
分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics