SuperSubScriptHelper–Unicode superscript and subscript helper class

During the implementation of the project, superscript and subscript characters need to be processed, such as chemical formulas, squares, cubes, etc. There are roughly two ways to implement superscript and subscript characters. One is that the characters themselves contain superscript and subscript information, and the other is that the superscript and subscript characters are displayed […]

Verify the differences and uses of ByREF, ByVal, VarPtr, StrPtr, Poke, Peek, DBCS, SBCS, Ansi, and Unicode in VB6 programs

The string storage format affects programming usage. C format strings use \0 as the terminator, and their length can be calculated from this, while the length of VB format strings is stored in the string prefix. Not only that, the concepts of string encoding methods ansi, unicode, widestring, dbcs, sbcs also affect length calculation. Let’s […]

[Yolo series error: UnicodeDecodeError: ‘gbk’ codec can’t decode byte 0x98 in position 1093]

When running other people’s configuration files in the running data set, an error is always reported UnicodeDecodeError: ‘gbk’ codec can’t decode byte 0x98 in position 1093 At first, I always thought it was the configuration error of the configuration file. Later, I found the cause of the system problem and a better solution. It is […]

Unicode, URL encoding, HTML entity symbol encoding

Character encoding Inside a computer, all information is ultimately represented by binary values. Character encoding is the encoding specification for converting natural language into computer language. 1. ASCII code The ASCII code specifies a total of 128 character encodings, including uppercase and lowercase English letters, numbers and some symbols. For example, the space SPACE is […]

Encoding (ASCII code, urlcode, html entity encoding, unicode, utf-8, html status code)

ASCII code ASCII (American Standard Code for Information Interchange): American Standard Code for Information Interchange is a computer coding system based on the Latin alphabet, mainly used to display modern English and other Western European languages. It is the most common information exchange standard and is equivalent to the international standard ISO/IEC 646. ASCII codes […]

unicode conversion UTF-8, UTF-16, UTF-32 encoding rules (including codes)

utf8, utf16, utf32 encoding rules Tool recommendation: hexadecimal conversion unicode encoding viewer ascii encoding viewer UTF encoding conversion What is utf8 Reference link: Wikipedia Ruan Yifeng UTF-8 (8-bit Unicode Transformation Format) is a variable-length character encoding for Unicode and a prefix code. It can use one to four bytes to encode all valid code points […]

Encoding issues (Unicode utf-8 love/hate

Directory 1. Strange encoding encountered? Edit 2. What is Unicode, why should it be used, and under what circumstances should it be used 3. The method of translating Unicode 4. Convert Unicode characters to UTF-8 encoding 5. Convert Unicode characters to Chinese text 6. “All types” become Unicode encoding 7.selected_categories={“Type”:”Comedy”} 1. Encountered a strange code […]