Why is there garbled code after copying and pasting web articles

Introduction to computer to proficient network provides introduction to computer knowledge and basic computer knowledge learning, so that you can quickly master the computer knowledge from introduction to proficient.

I don't know if you have encountered this situation. When copying an article on a website and pasting it into your blog or word, there will always be garbled code. No matter how to copy or save the whole web page or view the source file, there will be garbled code, but the text in the web page of the copied article is still good. What's the matter.

In fact, when you copy a web article into the text, you will see a large number of garbled characters. This is because the web page uses a CSS style sheet called watermark. Therefore, when copying, the website CSS will automatically encode the article into garbled code and don't want others to copy the work. Now that we have found the root of the problem, the solution is much easier.

Solution 1: through discovery, we know that IE browser works on the CSS style of watermark, but some browsers do not support the CSS style of watermark, so we can shield the CSS style of watermark through other browsers to remove the garbled code. The browsers you can use include Firefox, Aoyou browser, green browser and gorsoft. Note that among these browsers, Firefox is the most convenient. After installation, you can directly open the web page and copy it. Other browsers need to install plug-ins.

Solution 2: by searching the relevant data, it is also found that the word replacement method can be used. Using word, first select the text to be copied, create a new word document, and paste it into the new document; Click Edit \ replace, click Advanced in the pop-up dialog box, select Format \ font at the bottom of the dialog box, set the font color to white in the new dialog box, click OK and replace all, and then close the dialog box after replacement. Here we found a problem. We replaced many white areas, so the layout of the article will not be beautiful.