Home > Backend Development > PHP Problem > What to do if eclipse php is garbled

What to do if eclipse php is garbled

藏色散人
Release: 2023-03-15 06:46:02
Original
1860 people have browsed it

The reason why eclipse php is garbled is because the encoding is not uniform. The solution is: 1. Open the project; 2. Open the properties; 3. Change the text file encoding to UTF-8.

What to do if eclipse php is garbled

The operating environment of this article: Windows7 system, Eclipse IDE 2020-06 R version, DELL G3 computer

What to do if eclipse php is garbled ?

The Chinese characters are garbled when writing PHP code in eclipse

I wrote the code using editplus and then opened it with eclipse and the Chinese characters were garbled. This is because the encoding is not uniform. , the original GBK is now changed to UTF-8.

Modify

Method:

Project-->Properties-->Text file encoding

Recommended learning:《 PHP video tutorial

The above is the detailed content of What to do if eclipse php is garbled. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template