Supercharge Your Innovation With Domain-Expert AI Agents!

A GBK encoding processing method based on an education system and an electronic device

A processing method and technology of electronic equipment, applied in the field of program application, can solve problems such as garbled characters, achieve the effect of improving work efficiency and solving the problem of garbled files

Inactive Publication Date: 2019-03-29
SHENZHEN DIANMAO TECH CO LTD
View PDF8 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

For example, when downloading an excel file on a Mac, it is prone to garbled characters

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
  • A GBK encoding processing method based on an education system and an electronic device
  • A GBK encoding processing method based on an education system and an electronic device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0038] The present invention provides a GBK encoding processing method and electronic equipment based on an education system. In order to make the purpose, technical solution and effect of the present invention clearer and clearer, the present invention will be further described in detail below. It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention.

[0039] see figure 1 , is the flow chart of the steps of the method of the present invention, the present invention discloses a GBK encoding processing method based on the education system, wherein, comprising steps:

[0040] S1. Install third-party modules in Node.js;

[0041] S2. During file processing, obtain the file type;

[0042] S3. Determine whether the file contains pages / files in GBK or GB2312 format;

[0043] S4. Encode and save the page / file in GBK or GB2312 format through a third-party module.

[0044] Further, the GB...

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 GBK encoding processing method based on an education system and an electronic device. The method comprises the following steps: A. a third party module is installed in Node.Js; B. obtainING that file type in the file processing proces; C. judging whether that page / file of the GBK or GB2312 format is contain in the file; D. The page / file of GBK or GB2312 format is encodedand saved by a third party module. The scheme of the invention can solve the problem of disorderly code of the file and improve the working efficiency.

Description

technical field [0001] The invention relates to the field of program application, in particular to an education system-based GBK encoding processing method and electronic equipment. Background technique [0002] Due to the problems of different operating systems and different files, the files on the server will appear in GBK, GB2312 and other encodings. To process GBK or GB2312 pages / files, we need to transcode, otherwise there will be garbled characters and cannot be read. The types of encoding formats supported by the Buffer object in node.js are limited, such as ascii, utf8, utf16le, ucs2, base64, binary, and hex. The encoding form of GBK is not supported. For the windows system, the default encoding format of many files is GBK. For example, when downloading an excel file on a Mac, garbled characters are prone to occur. [0003] Therefore, the prior art still needs to be improved and developed. Contents of the invention [0004] In view of the above deficiencies in ...

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): G06F8/73
CPCG06F8/73
Inventor 李天驰孙悦邱恒斌
Owner SHENZHEN DIANMAO TECH CO LTD
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More