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

Method and device for determining webpage encoding mode

An encoding method and webpage encoding technology, applied in the network field, can solve problems such as low accuracy rate and garbled webpages, and achieve the effect of reducing the probability of garbled characters and accurate encoding methods.

Active Publication Date: 2014-03-12
QINGDAO HISENSE MOBILE COMM TECH CO LTD
View PDF1 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0007] The embodiment of the present invention provides a method and device for determining the encoding method of a webpage, which is used to solve the problem that the method for determining the encoding method of a webpage in the prior art has a low accuracy rate, so that garbled characters are prone to appear after the encoding process of the webpage

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
  • Method and device for determining webpage encoding mode
  • Method and device for determining webpage encoding mode
  • Method and device for determining webpage encoding mode

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0048] The present invention determines the encoding mode of the webpage to be encoded according to the reference encoding mode in the determined reference encoding mode array and the alternative encoding mode in the locally preset alternative encoding mode array, so that the determined encoding mode of the webpage to be encoded It is more accurate and effectively reduces the probability of garbled characters on web pages.

[0049] Embodiments of the present invention will be described in detail below in conjunction with the accompanying drawings. It should be noted that, in the following embodiments, the encoding method of Chinese characters is taken as an example to illustrate the embodiment of the present invention, and the methods for determining the encoding methods of webpages in other languages ​​(such as Japanese, Korean, etc.) are similar, and will not be repeated here. repeat.

[0050] The existing encoding methods of Chinese characters mainly include: UTF-8 (a vari...

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 embodiment of the invention relates to the field of network techniques, in particular to a method and device for determining a webpage encoding mode, which are used for solving the problem that in the prior art, the method for determining the webpage encoding mode has low accuracy, so that a webpage is easy to generate illegible characters after encoding process. The method for determining the webpage encoding mode provided by the embodiment of the invention comprises the following steps of: determining a reference coding mode array of a webpage to be encoded; and determining an encoding mode contained in the reference coding mode array and an alternative encoding mode array to be used as an encoding mode of the webpage to be encoded according to the reference coding mode array and the alternative encoding mode array preset locally. Since the embodiment of the invention does not completely depend on a statement encoding mode or the reference coding mode of the webpage to be encoded, the determined encoding mode of the webpage to be encoded is more accurate, and thus the probability of occurrence of the illegible characters on the webpage after encoding process is effectively reduced.

Description

technical field [0001] The invention relates to the field of network technology, in particular to a method and equipment for determining a web page encoding method. Background technique [0002] With the development of network technology, more and more users choose to use terminal devices (such as mobile phones, computers, tablet computers, etc.) to surf the Internet. When surfing the Internet, they need to use a browser to browse the webpage. Including Microsoft's IE browser (Microsoft Internet Explorer), FireFox browser, etc.; currently, the browser's identification process for web pages is as follows: [0003] According to the HTTP protocol (HyperText Transfer Protocol, hypertext transfer protocol), obtain the encoding method of the declaration in the HTTP response header (Response headers) of the webpage to be encoded or the encoding method of the declaration in the META tag in the source code of the webpage to be encoded, and according to the declaration The encoding m...

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
Patent Type & Authority Patents(China)
IPC IPC(8): G06F17/30
Inventor 朱宏浩
Owner QINGDAO HISENSE MOBILE COMM TECH CO LTD