Home > Article > Backend Development > zendstudio file encoding modification problem_PHP tutorial
Reprint: http://blog.csdn.net/kunlong0909/article/details/7818620
Friends, after importing a project in zendstudio IDE, you find that the original encoding of the files in the project is inconsistent with the default reading encoding set in the current project. The phenomenon is like this:
After importing a project, I found that many files in the project were marked with red crosses. When I opened these files, I found that as long as the files containing Chinese characters were garbled. Then you hold down alt+enter and find that the default encoding of the file is gbk. When you change the current file encoding to utf8, the file becomes normal. However, there are many such files in the project, so it is not necessary to modify them one by one, which is repetitive and inefficient work.
We can modify it like this:
windows->preference->General->workplace, change the "text file encoding" on the right to utf8 format
Windows-& GT; Preference-& GT; General-& GT; Editors-& GT; Text Editors-& GT; Spelling's enCODING in the right panel is changed to UTF8 format