Home  >  Article  >  Backend Development  >  zendstudio,该如何解决

zendstudio,该如何解决

WBOY
WBOYOriginal
2016-06-13 13:44:39867browse

zendstudio
用zendstudio新建一个php文件:add.php
代码如下:




添加用户




姓名:
 
 
 

在本地访问该文件中文部分出现乱码是怎么回事?

------解决方案--------------------
是的zendstudio的确有这个毛病,我以前就说过了。但有时候又是正常的。
用editplus另存吧.

探讨

引用:
引用:
文件编码设置为utf-8, window->preferences->general->content-type->php content type


1楼的已经说了, 现在的版本基本可以这样,
//左边选择
window->preferences->general->content……
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