Home  >  Article  >  Backend Development  >  zendstudio中如何改还是中文乱码如何解决呢

zendstudio中如何改还是中文乱码如何解决呢

WBOY
WBOYOriginal
2016-06-13 12:58:211170browse

zendstudio中怎么改还是中文乱码怎么解决呢?
为什么在dreamweaver里面写的代码在放到zendstudio会乱码 ?求指导
------解决方案--------------------
编码的问题,先看清楚编码是多少,然后在zendstudio中去修改.
windows->Preferences->General->workspace
------解决方案--------------------
你要先看清除dreamweaver里面是什么编码,然后zend对应改成那个编码。
试试iso的默认编码吧。
------解决方案--------------------
1.zend下 Project->Properties->Text file encoding->Other 选择你的编码
如果不行 再试试:
2.页面头部加
------解决方案--------------------
你的项目的编码要设置成utf8,但是你文件原来不是utf8的文件比如是GB2312,那么修改项目编码后就会把中文变成乱码

Statement:
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