已经在Windows菜单下的Preferences->General->Workspace中,设置了编码为UTF-8
项目也是UTF-8,但是在项目中新建一个模板的时候就会出现中文乱码这是已经设计的模板:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>无标题文档</title>
<meta name="author" content="163.net,无标题文档" />
<meta name="keywords" content="无标题文档无标题文档无标题文档无标题文档无标题文档" />
<meta name="description" content="无标题文档无标题文档无标题文档无标题文档无标题文档" />
</head><body>
</body>
</html>用Zend Studio 7.2新建一个PHP文件(New PHP file - HTML frameset),里面那些中文就全成乱码了,打开的UTF-8文件就不会乱码!
求解,多谢各位!