Step 1: Determine the UTF-8 encoding bit layout
The character has the Unicode code point U+0002. In UTF-8, it is encoded using 1 byte because its codepoint is in the range of
0x0000
to0x007f
.
Therefore we know that the UTF-8 encoding will be done over 7 bits within the final 8 bits and that it will have the format:0xxxxxxx
Where thex
are the payload bits.UTF-8 Encoding bit layout by codepoint range Codepoint Range Bytes Bit pattern Payload length U+0000 - U+007F 1 0xxxxxxx 7 bits U+0080 - U+07FF 2 110xxxxx 10xxxxxx 11 bits U+0800 - U+FFFF 3 1110xxxx 10xxxxxx 10xxxxxx 16 bits U+10000 - U+10FFFF 4 11110xxx 10xxxxxx 10xxxxxx 10xxxxxx 21 bits Step 2: Obtain the payload bits:
Convert the hexadecimal code point U+0002 to binary:
00000010
. Those are the payload bits.Step 3: Fill in the bits to match the bit pattern:
Obtain the final bytes by arranging the paylod bits to match the bit layout:
00000010
<control>·U+0002
Character Information
Character Representations
Click elements to copyEncoding | Hex | Binary |
---|---|---|
UTF8 | 02 | 00000010 |
UTF16 (big Endian) | 00 02 | 00000000 00000010 |
UTF16 (little Endian) | 02 00 | 00000010 00000000 |
UTF32 (big Endian) | 00 00 00 02 | 00000000 00000000 00000000 00000010 |
UTF32 (little Endian) | 02 00 00 00 | 00000010 00000000 00000000 00000000 |
Description
The Unicode character U+0002, also known as the STX (Start of Text) control character, plays a crucial role in digital communication, particularly in data transmission protocols such as X.25 and SNA (System Network Architecture). This non-visible character serves to indicate the start of a message or block of data, ensuring accurate and uncorrupted information transfer between devices and programs. Despite not being directly visible in typical text applications due to its non-printable nature, the STX character is integral for maintaining data integrity during communication. The STX character is unique as it forms part of a triplet used to define message boundaries alongside ETB (End of Transmission Block) and EOT (End of Transmission). The Unicode character U+0002 falls under the Basic Latin Unicode block, spanning from U+0000 to U+007F. This block is a foundation for the Unicode system, containing essential characters that serve various purposes in programming languages, text documents, and other applications. The basic Latin Unicode block's historical roots can be traced back to ASCII, but it has since evolved to cater to modern needs and remains an integral part of digital communication. The STX character represents one example of the 128 characters within the Basic Latin Unicode block that serve important functions in data transmission and processing, demonstrating its significance both culturally, linguistically, and technically.
How to type the symbol on Windows
Hold Alt and type 0002 on the numpad. Or use Character Map.