Subscript Four vs Superscript Two
VS
Property Comparison
| Property | ₄ 2084 | ² 00B2 |
|---|---|---|
| Name | Subscript Four | Superscript Two |
| Category | Superscript & Subscript | Superscript & Subscript |
| Block | Superscripts and Subscripts | Latin-1 Supplement |
| Script | Zyyy | Zyyy |
| General Category | Other Number (No) | Other Number (No) |
| Bidirectional | EN | EN |
Encoding Comparison
| Format | 2084 | 00B2 |
|---|---|---|
| Unicode | U+2084 | U+00B2 |
| HTML Decimal | ₄ | ² |
| HTML Hex | ₄ | ² |
| CSS | \2084 | \00B2 |
| JavaScript | \u{2084} | \u{B2} |
| Python | \u2084 | \u00b2 |
| UTF-8 | e2 82 84 | c2 b2 |
How to Distinguish
Both Subscript Four and Superscript Two are in the Superscript & Subscript category but reside in different Unicode blocks. Check the codepoint to tell them apart.
Tip: Paste the character into a hex editor or use
charCodeAt()
in JavaScript to check the actual codepoint.