Step 1: Determine the UTF-8 encoding bit layout
The character ġ has the Unicode code point U+0121. In UTF-8, it is encoded using 2 bytes because its codepoint is in the range of
0x0080
to0x07ff
.
Therefore we know that the UTF-8 encoding will be done over 11 bits within the final 16 bits and that it will have the format:110xxxxx 10xxxxxx
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+0121 to binary:
00000001 00100001
. 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:
11000100 10100001
LATIN SMALL LETTER G WITH DOT ABOVE·U+0121
Character Information
Character Representations
Click elements to copyEncoding | Hex | Binary |
---|---|---|
UTF8 | C4 A1 | 11000100 10100001 |
UTF16 (big Endian) | 01 21 | 00000001 00100001 |
UTF16 (little Endian) | 21 01 | 00100001 00000001 |
UTF32 (big Endian) | 00 00 01 21 | 00000000 00000000 00000001 00100001 |
UTF32 (little Endian) | 21 01 00 00 | 00100001 00000001 00000000 00000000 |
Description
U+0121 is the Unicode code point for "LATIN SMALL LETTER G WITH DOT ABOVE", commonly known as the acute accent g. This character is used in typography to represent a lowercase 'g' with an added dot above it, making it distinct from other lowercase letters. The dot above the letter is called an acute accent, and is traditionally represented by the Unicode U+0301 combining acute accent. In digital text, the character's primary role is to provide visual clarity and distinction, especially in contexts where the base letter 'g' might otherwise be confused with similar characters. It is frequently used in languages such as Spanish, Italian, French, Portuguese, and several other Romance languages, where it serves to differentiate between words that would otherwise appear identical when written using only the basic Latin alphabet. The character also has a rich history within linguistic studies and computer programming, with its usage dating back to early days of computing in the mid-20th century. In certain technical contexts, such as the ASCII table, the U+0121 is represented by the decimal value 63, while the standard ASCII character set does not include a direct equivalent for this glyph. Overall, U+0121 plays an important role in digital text, serving to distinguish between different words and ideas within various languages, while also contributing to the richness and variety of written expression on a global scale.
How to type the ġ symbol on Windows
Hold Alt and type 0289 on the numpad. Or use Character Map.