发明名称 WEB PAGE CODING IDENTIFICATION METHOD AND DEVICE
摘要 The present disclosure relates to the field of computer network, and disclosed are a web page coding identification method and device. The method comprises: loading web page data, the web page data comprising at least one web page resource; detecting whether the web page resource is a hypertext markup language (HTML) resource and declares a coding mode; if the web page resource is the HTML resource but does not declare a coding mode, then identifying the coding mode of the HTML resource; and decoding the HTML resource employing a decoding mode corresponding to the identified coding mode. The present disclosure solves the problem in relevant art that a browser may display garbled text when the "charset" field is missing in the web page coding, such that the web page resource can be properly decoded and displayed even when the coding mode is not declared in the web page resource.
申请公布号 WO2016061930(A1) 申请公布日期 2016.04.28
申请号 WO2015CN71308 申请日期 2015.01.22
申请人 XIAOMI INC. 发明人 ZUO, JINGLONG;FAN, JINSONG;TIAN, FAN
分类号 G06F17/30 主分类号 G06F17/30
代理机构 代理人
主权项
地址