Set WebBrowser Encoding

zhaozj2021-02-16  198

Add a reference Microsoft.MSHTML

USING MSHTML;

DocumentDownComplate Event

Object reflevel = 7; htmldocument2 m_hdoc = (htmldocument2) AXWebBrowser1.document; m_hdoc.charset = "GB2312"; AxWebBrowser1.Refresh2 (Ref Reflevel);

转载请注明原文地址:https://www.9cbs.com/read-7956.html

New Post(0)