Home > Article > Backend Development > What should I do if php notepad opens with garbled characters?
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.
#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!