发明名称 METHOD AND DEVICE FOR IDENTIFYING ENCODING OF WEB PAGE
摘要 A method for a device to identify encoding of a web page, includes: loading web page data including a web page resource; detecting whether the web page resource is a HyperText Markup Language (HTML) resource and whether the web page resource specifies an encoding mode; if the web page resource is an HTML resource and the web page resource does not specify an encoding mode, identifying the encoding mode of the HTML resource; and decoding the HTML resource with a decoding mode corresponding to the identified encoding mode.
申请公布号 US2016112491(A1) 申请公布日期 2016.04.21
申请号 US201514684855 申请日期 2015.04.13
申请人 Xiaomi Inc. 发明人 ZUO Jinglong;FAN Jinsong;TIAN Fan
分类号 H04L29/08;H04L29/06 主分类号 H04L29/08
代理机构 代理人
主权项 1. A method for a device to identify encoding of a web page, comprising: loading web page data including a web page resource; detecting whether the web page resource is a HyperText Markup Language (HTML) resource and whether the web page resource specifies an encoding mode; if the web page resource is an HTML resource and the web page resource does not specify an encoding mode, identifying the encoding mode of the HTML resource; and decoding the HTML resource with a decoding mode corresponding to the identified encoding mode.
地址 Beijing CN