Home > Article > Computer Tutorials > How to solve the problem of garbled web pages in Google Chrome
How to solve the problem of garbled web pages in Google Chrome? Under normal circumstances, Google Chrome pages display simplified Chinese, but recently many users have found that the text on the web page is garbled and cannot be understood at all when opening Google Chrome. This situation will affect the normal access of users, so how should we solve this problem? Garbled web pages are most likely caused by encoding problems. Today, the editor will bring you tips on how to deal with garbled web pages in Google Chrome. Let’s take a look at how to solve this problem.
In order to check the encoding method, first open Google Chrome and then press the [F12] key on the keyboard. Open the console [Console]. Enter [document.charset] in the console to view the current encoding method.
#2. Then check the web page source code encoding method again in [Elements] to see if it is synchronized. If it is not synchronized, the web page will be garbled and the browser encoding needs to be modified.
3. We need to install an extension called [Charset] for Google Chrome. After downloading, decompress the compressed package file. In the decompressed file Find the file with the [crx] suffix in the folder, rename it to a compressed package file in [zip] format and decompress it again.
#4. Click [Customize and Control]-[Extensions]-[Manage Extensions] in the upper right corner of the browser. At this time, you will enter the extension page of Google Chrome. Click [Developer Mode] on the upper right corner of the page to turn on the developer mode.
5. At this time, [Load decompressed extension] will appear below. Click this button to select the extension folder we decompressed earlier.
#6. After the software is installed, the icon of the plug-in will be displayed in the upper right corner of the browser. Click the icon of the plug-in to manually modify the encoding of the current web page. We only need to switch between GBK, GB2312, and UTF-8.
The above is the detailed content of How to solve the problem of garbled web pages in Google Chrome. For more information, please follow other related articles on the PHP Chinese website!