1. 项目编码为utf-8,zend打开中文乱码

解决:因为zend studio的默认字符编码是GBK。

        单个PHP文件中文乱码:使用zend studio7打开一个UTF8编码的PHP文件,点击FileProperties,设置Text file encoding为Other:Utf-8。

        整个项目中文乱码:选中相应的项目,右键选择Properties,设置Text file encoding为Other:Utf-8。

       

相关文章:

  • 2022-12-23
  • 2021-10-07
  • 2021-05-25
  • 2022-12-23
  • 2021-11-11
  • 2021-11-15
猜你喜欢
  • 2021-10-19
  • 2022-01-05
  • 2021-08-31
  • 2021-08-08
  • 2021-12-08
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案