Step 1: Determine the UTF-8 encoding bit layout
The character B has the Unicode code point U+0042. 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+0042 to binary:
01000010
. 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:
01000010
LATIN CAPITAL LETTER B·U+0042
Character Information
Character Representations
Click elements to copyEncoding | Hex | Binary |
---|---|---|
UTF8 | 42 | 01000010 |
UTF16 (big Endian) | 00 42 | 00000000 01000010 |
UTF16 (little Endian) | 42 00 | 01000010 00000000 |
UTF32 (big Endian) | 00 00 00 42 | 00000000 00000000 00000000 01000010 |
UTF32 (little Endian) | 42 00 00 00 | 01000010 00000000 00000000 00000000 |
Description
The character U+0042, commonly known as the Latin Capital Letter B (LATIN CAPITAL LETTER B), plays a pivotal role in digital text representation, particularly for written languages using the Latin script such as English, French, German, Spanish, and many more. In Unicode's Basic Multilingual Plane (BMP), this character is assigned the codepoint 0042, the ASCII value 66, and is classified under the generalCategory Lu (Letter). The Latin Capital Letter B originated from the Phoenician alphabet, where it represented the sound "b" or "v". Throughout history, this letter has evolved across various linguistic traditions through adaptation and borrowing. Nowadays, it is a fundamental component in typing and encoding systems to represent the initial consonant in words from multiple languages that use the Latin script. Beyond its usage in digital text, the Latin Capital Letter B holds noteworthy cultural and technical significance. This character serves as a cornerstone of text encoding systems such as ASCII and plays an essential role in modern programming languages and text documents. The basic Latin Unicode block (0000 to 007F), which includes U+0042, is foundational for communication across multiple platforms and devices. In summary, the Latin Capital Letter B is a vital character in digital text representation, with its origins and adaptations reflecting the richness of human language and culture. Its historical roots trace back to the Phoenician alphabet, and it continues to play an indispensable role in modern typography, digital communication, and programming.
How to type the B symbol on Windows
Hold Alt and type 0066 on the numpad. Or use Character Map.