Uppercase G
ASCII code 71 (0x47) represents the Uppercase G character "G". The uppercase letter "G" has ASCII code 71. Uppercase letters A–Z span codes 65–90. The relationship between uppercase and lowercase ASCII letters is consistent: adding 32 to an uppercase letter’s code gives the corresponding lowercase letter (e.g., 'A' at 65 + 32 = 'a' at 97). The printable ASCII characters (codes 32–126) include the space, digits, uppercase and lowercase Latin letters, and common punctuation symbols. These 95 characters form the foundation of text representation in virtually all computing systems and are universally supported across all character encodings, programming languages, and operating systems.
| Decimal | 71 |
| Octal | 107 |
| Hexadecimal | 0x47 |
| Binary | 01000111 |
| HTML Code | G |
| HTML Entity | — |
| Unicode | U+0047 |
| Unicode Name | LATIN CAPITAL LETTER G |
| URL Escape | %47 |
| Quoted-Printable | G |
| UTF-8 (Hex) | 47 |
| Category | Printable — Uppercase Letters |
// Character literal
let char = 'G';
// Using char code
let char2 = String.fromCharCode(71);
// Unicode escape
let char3 = '\x47'; # Character literal
char = 'G'
# Using chr()
char = chr(71)
# Using ord() to get code
code = ord('G') # Returns 71 <!-- Direct character -->
G
<!-- HTML entity (numeric) -->
G
<!-- Hex entity -->
G // Character literal
char c = 'G';
// Using cast
char c2 = (char)71;
// To get code from char
int code = (int)'G'; // Returns 71