Method and device for code optimization for embedded browser
An embedded browser and optimization method technology, applied in the field of communications, can solve problems such as the embedded browser cannot be displayed normally, business logic function execution errors, external source file parsing errors, etc., to improve user experience, improve reliability and Compatibility, the effect of ensuring the correct rate
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0021] The present invention will be described in detail below with reference to the accompanying drawings and in combination with embodiments.
[0022] figure 1 It shows a flow chart of a coding optimization method according to the first embodiment of the present invention, and the method includes the following steps:
[0023] Step 101, the embedded browser detects the first encoding format of the external source file in the data to be parsed, and the second encoding format of the webpage file to which the external source file belongs;
[0024] Step 102, the embedded browser judges whether the first encoding format is the same as the second encoding format;
[0025] Step 103, if the first encoding format is different from the second encoding format, the embedded browser re-encodes the file content of the external source file according to the second encoding format to obtain a re-encoded external source file for parsing.
[0026] In this embodiment, the embedded browser firs...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 