Method and apparatus for confirming text stream character set
A technology of character sets and text streams, applied in digital data processing, special data processing applications, instruments, etc., can solve the problems of not knowing the character set of the source text stream, unable to perform character set conversion, etc., and achieve the effect of accurate results
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0056] In the following, the method for determining the text stream character set provided by the present invention will be further specifically described in conjunction with Embodiment 1. Figure 1 is a flowchart of the method.
[0057] In step 101, a character set set is preset, and the character sets in the set are sorted according to the encoding range of the character set, wherein the character set with a small encoding range is arranged first, and the character set with a large encoding range is arranged last.
[0058] In step 102, the first character set in the sequence is set as the current character set, that is, the character set with the smallest encoding range is set as the current character set.
[0059] In step 103, specify the current character set as the source character set of the text stream, and the character set unicode as the destination character set of the text stream, and call the libiconv function library to convert the text stream from the current char...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com