Subscript Six vs Superscript Two
VS
Property Comparison
| Property | ₆ 2086 | ² 00B2 |
|---|---|---|
| Name | Subscript Six | 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 | 2086 | 00B2 |
|---|---|---|
| Unicode | U+2086 | U+00B2 |
| HTML Decimal | ₆ | ² |
| HTML Hex | ₆ | ² |
| CSS | \2086 | \00B2 |
| JavaScript | \u{2086} | \u{B2} |
| Python | \u2086 | \u00b2 |
| UTF-8 | e2 82 86 | c2 b2 |
How to Distinguish
Both Subscript Six 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.