【转】Zend Studio 8+设置默认使用UTF8编码

转自:http://yulans.cn/php/zend-studio-8%E8%AE%BE%E7%BD%AE%E9%BB%98%E8%AE%A4%E4%BD%BF%E7%94%A8utf-8%E7%BC%96%E7%A0%81

Zend Studio 8+默认使用系统编码,也就是GBK,当我们用Zend Studio 用从SVN服务器导出项目的时候,如果项目使用UTF-8字符集,打开文件的时候中文将会出现乱码。
解决:
将如下设置为使用UTF-8编码
1、Project > Properties > Resource
2、Window > Preferences > General > Workspace
3、Window > Preferences > Web > HTML Files
4、Window > Preferences > Web > CSS Files
5、Window > Preferences > PHP > Debug

参考:http://blog.csdn.net/cancer_x/article/details/6170886

1.windows->Preferences...打开" 首选项"对话框,左侧导航树,导航到general->Workspace,右侧Text file encoding,选择Other,改变为UTF-8,以后新建立工程其属性对话框中的Text file encoding即为UTF-8。

2.windows->Preferences...打开"首选项"对话框,左侧导航树,导航到general->Content Types,右侧Context Types树,点开Text中每一颗子项,并在中输入"UTF-8",点update!

原文地址:https://www.cnblogs.com/fzzl/p/3020351.html