Home >Backend Development >PHP Problem >What to do if the file name downloaded by php Edge is garbled
php Edge download file name garbled solution: 1. Open the local group policy editor; 2. Find "Custom User Agent String"; 3. Check the "Started" radio button; 4. , enter the string "MSIE 9.0" and click OK; 5. Re-open the edge browser.
The operating environment of this tutorial: Windows 7 system, PHP version 8.1, Dell G3 computer.
What should I do if the file name downloaded by Edge is garbled?
Method to solve garbled characters
1. First press the key combination "WIN R" to open the run window, enter "gpedit.msc" and press Enter;
2. After opening the Local Group Policy Editor, expand "Computer Configuration → Administrative Templates → Windows Components → Internet Explorer", find "Custom User Agent String" in the list on the right, and then double-click Open;
3. Check the "Started" radio button, enter the string "MSIE 9.0", and click OK. Finally, close and reopen the edge browser, download a file with a Chinese name and give it a try. You will find that the file can be displayed normally.
Solution to Garbled Code Method 2
1. Open the Internet Explorer browser, click Tools, "Compatibility View Settings", enter the URL, and click "Add" , check "Show intranet sites in Compatibility View" and "Use Microsoft Compatibility List";
2. Open Microsoft Edge, enter: about:flags, check "Use Microsoft Compatibility List";
3. Restart Microsoft Edge to see if the problem is solved.
Recommended learning: "PHP Video Tutorial"
The above is the detailed content of What to do if the file name downloaded by php Edge is garbled. For more information, please follow other related articles on the PHP Chinese website!