Method for supporting various character sets during application of EXCEL plug-in unit in WEB

A character set and plug-in technology, applied in special data processing applications, electrical digital data processing, instruments, etc., can solve problems such as garbled file content, data loss, file data errors, etc., to improve compatibility and stability, and improve user experience. The effect of experience

Inactive Publication Date: 2012-07-11
INSPUR SOFTWARE CO LTD
View PDF3 Cites 8 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The data content of the WEB page is uncertain. When the current plug-in program encounters rare Chinese characters, the exported file content will appear garbled or data loss. The reason for the analysis of the problem is that the character code set GB2312 is only supported when exporting to an Excel file, so Chinese characters outside this character set cannot be processed, resulting in wrong data in the generated file

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

Examples

Experimental program
Comparison scheme
Effect test

Embodiment

[0009] When the WEB application EXCEL plug-in of the present invention supports multiple character sets: after the plug-in program receives the data from the server, it first reads the encoding format information of the data. Convert to UTF-8 format, if it is in UTF-8 format, no conversion is performed; when the client outputs an Excel file, use the Windows API function MultiByteToWideChar to convert from UTF-8 format to the client's local Chinese character set format. For example, how the server-side GBK encoding format data is transmitted to the client: the character encoding set processing method in the program first converts the server-side data into UTF-8 format, then transmits it to the client, and converts from UTF-8 to GB18030 on the client side , and then realized the plug-in support for GB18030 code set.

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 discloses a method for supporting various character sets during application of EXCEL plug-in unit in WEB, and belongs to a processing method of a character code set. According to the method disclosed by the invention, after a plug-in unit program receives data of a server, the format of transmission data is firstly converted to UTF-8 (Unicode transformation format-8) format, and the UTF-8 format is further converted to the format of a target code character set. Compared with the prior art, the method disclosed by the invention can improve the compatibility and the stability of an information system, can improve the user experience, and further has great popularization and application values.

Description

[0001] technical field [0002] The invention relates to a method for processing a character code set, in particular to a method for supporting multiple character sets when the WEB uses an EXCEL plug-in. Background technique [0003] At present, many information products need to convert the queried data from WEB pages into Excel files and save them on the client machine, so that users can save and process the data. For this purpose, WEB application plug-ins are used to realize this function. The data content of the WEB page is uncertain. When the current plug-in program encounters rare Chinese characters, the exported file content will appear garbled or data loss. The reason for the analysis of the problem is that the character code set GB2312 is only supported when exporting to an Excel file, so Chinese characters outside this character set cannot be processed, resulting in wrong data in the generated file. Contents of the invention [0004] The technical task of the pre...

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 Applications(China)
IPC IPC(8): G06F9/44G06F17/30
Inventor 王柏华张晖匡立武彭铸单宝波
Owner INSPUR SOFTWARE CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products