Home  >  Article  >  Backend Development  >  What should I do if php notepad opens with garbled characters?

What should I do if php notepad opens with garbled characters?

藏色散人
藏色散人Original
2021-03-02 17:59:473059browse

Causes and solutions for garbled characters when opening in php notepad: 1. PHP’s own files are encrypted, resulting in garbled characters; 2. Encoding errors, use editplus software or Dreamweaver to convert the encoding format.

What should I do if php notepad opens with garbled characters?

#The operating environment of this article: Windows 7 system, PHP version 7.1, Dell G3 computer.

If php is garbled when opening, there are two reasons.

First: It is the encryption of PHP's own files. MD5 encrypted files!

Second: The php file is encoded in GBK or UTF-8! You can use the software editplus or Dreamweaver to convert the encoding format!

If it still doesn’t work!

Check if there is an error during downloading!

[Recommended learning: "PHP Video Tutorial"]

The above is the detailed content of What should I do if php notepad opens with garbled characters?. For more information, please follow other related articles on the PHP Chinese website!

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