Home > Backend Development > PHP Tutorial > yii的代码在mac上的lnmp环境部分乱码

yii的代码在mac上的lnmp环境部分乱码

WBOY
Release: 2016-06-06 20:37:21
Original
1119 people have browsed it

yii的代码在mac上的lnmp环境部分乱码

yii的代码在mac的lnmp环境上部分乱码,乱码的都是gridview部分,同样的代码放到centos的lnmp环境下正常

回复内容:

yii的代码在mac上的lnmp环境部分乱码

yii的代码在mac的lnmp环境上部分乱码,乱码的都是gridview部分,同样的代码放到centos的lnmp环境下正常

  • @app/config/web.php 设置编码
  • /etc/nginx/nginx.conf 设置编码
Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template