C # HTML transfer pictures to solve the garbage problem

C # HTML transfer pictures to solve the garbage problem

Problem Description

C # through WebBrowserthe HTML images will appear randomly turn into a small number of Chinese garbled. By adding, modifying, deleting HTML code, modify the HTML file encoding are not addressed.

Solve the problem

There are so accidentally discovered a piece of code within the HTML code:

<meta http-equiv="X-UA-Compatible" content="IE=Edge">

The code above tells the IE browser, version IE8 / 9 and beyond will be the highest version of IE to render the page, but I do not know why add this code instead of part of the Chinese garbled. This code can be deleted directly!

Guess you like

Origin www.cnblogs.com/zh672903/p/11582707.html
Recommended