Subscript Two vs Superscript One
VS
Property Comparison
| Property | ₂ 2082 | ¹ 00B9 |
|---|---|---|
| Name | Subscript Two | Superscript One |
| 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 | 2082 | 00B9 |
|---|---|---|
| Unicode | U+2082 | U+00B9 |
| HTML Decimal | ₂ | ¹ |
| HTML Hex | ₂ | ¹ |
| CSS | \2082 | \00B9 |
| JavaScript | \u{2082} | \u{B9} |
| Python | \u2082 | \u00b9 |
| UTF-8 | e2 82 82 | c2 b9 |
How to Distinguish
Both Subscript Two and Superscript One 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.