Home  >  Article  >  Backend Development  >  zendstudio file encoding modification problem_PHP tutorial

zendstudio file encoding modification problem_PHP tutorial

WBOY
WBOYOriginal
2016-07-13 10:36:35726browse

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

                                                                                                                                                                                                                                                   

www.bkjia.comtruehttp: //www.bkjia.com/PHPjc/738549.htmlTechArticleReprinted: http://blog.csdn.net/kunlong0909/article/details/7818620 Friends, in zendstudio ide After importing a project, have you found that the original encoding and current encoding of the files in the project...
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