Unlock instant, AI-driven research and patent intelligence for your innovation.

Webpage encoding identifying method and device

A technology of web page coding and recognition method, which is applied in the field of web page coding recognition method and device, and can solve problems such as garbled codes in browsers

Active Publication Date: 2015-02-18
XIAOMI INC
View PDF5 Cites 7 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] In order to solve the problem that the browser will display garbled characters when the "charset" field in the web page code is missing or wrongly written in the related art, the embodiment of the present disclosure provides a web page code recognition method and device

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Webpage encoding identifying method and device
  • Webpage encoding identifying method and device
  • Webpage encoding identifying method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0052] Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, the same numerals in different drawings refer to the same or similar elements unless otherwise indicated. The implementations described in the following exemplary examples do not represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatuses and methods consistent with aspects of the present disclosure as recited in the appended claims.

[0053] The terminals involved in the embodiments of the present disclosure can be mobile phones, tablet computers, e-book readers, MP3 players (Moving Picture Experts Group Audio Layer III, moving picture experts compression standard audio level 3), MP4 (Moving Picture Experts Group Audio Layer IV, Motion Picture Expert Compression Standard Audio Layer 4) Players, Laptops and Desktops,...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention relates to a webpage encoding identifying method and a webpage encoding identifying device, and belongs to the field of computer networks. The method comprises the steps: loading webpage data, wherein the webpage data comprise at least one webpage source; detecting whether the webpage source is a hypertext markup language (HTML) source, and stating an encoding mode; if the webpage source is the HTML source and the encoding mode is not stated, identifying the encoding mode of the HTML source; decoding the HTML source by a decoding mode corresponding to the identified encoding mode. According to the webpage encoding identifying method and the webpage encoding identifying device, the problem that a browser possibly displays messy codes when a 'charset' field in webpage encoding is lipographic in the prior art is solved; the effect of normally decoding the webpage source and realizing displaying can be achieved even if the encoding mode is not stated in the webpage source.

Description

technical field [0001] The present disclosure relates to the field of computer networks, in particular to a method and device for identifying codes of webpages. Background technique [0002] With the development of network technology, it is a function most commonly used by users to browse webpages by using a browser in a terminal. [0003] Since the webpage data may be encoded using different encoding methods, the browser first needs to identify the encoding method of the webpage data according to the "charset" field in the webpage data, and then use the decoding method corresponding to the encoding method to decode the webpage data, and then Display web page data. However, due to the increasing popularity of website building and webpage editing technologies, many webpage data developed by technicians will omit or write the "charset" field incorrectly. At this time, the browser uses the default decoding method to decode, and garbled characters may be displayed . Contents...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
IPC IPC(8): G06F17/30
CPCG06F16/957G06F16/9577
Inventor 左景龙范金松田凡
Owner XIAOMI INC