₉ is the Unicode character SUBSCRIPT NINE, code point U+2089 (decimal 8329) in the Superscripts and Subscripts block, added in Unicode 1.1. In HTML write ₉, and in UTF-8 it is the 3 bytes E2 82 89.
Codes
| Where | How to write it |
|---|---|
| Code point | U+2089 |
| Decimal | 8329 |
| UTF-8 bytes | E2 82 89 |
| UTF-16 (big-endian) | 2089 |
| UTF-32 | 00002089 |
| HTML decimal | ₉ |
| HTML hex | ₉ |
| CSS | \2089 |
| JavaScript | \u2089 |
| JSON | \u2089 |
| Python | \u2089 |
| Python by name | \N{SUBSCRIPT NINE} |
| Java, C# | \u2089 |
| Rust, Swift | \u{2089} |
| Go, C, C++ | \u2089 |
| URL (percent-encoded) | %E2%82%89 |
JavaScript and JSON strings store text as UTF-16, so this character is one code unit long. Python 3 strings count code points, so its length there is 1.
Properties
| Property | Value |
|---|---|
| Name | SUBSCRIPT NINE |
| Code point | U+2089 (decimal 8329) |
| Block | Superscripts and Subscripts (U+2070–U+209F) |
| General category | No: Other number |
| Script | Common |
| Bidirectional class | EN: European number |
| Numeric value | 9 |
| Mirrored in right-to-left text | No |
| First in Unicode version | 1.1 |
Decomposition
SUBSCRIPT NINE has a compatibility decomposition (sub) to the sequence below. NFKC and NFKD normalisation replace it with that sequence, which can change how text looks, so use them for search, not for storage.
Nearby in Superscripts and Subscripts
- ₁ U+2081 Subscript One
- ₂ U+2082 Subscript Two
- ₃ U+2083 Subscript Three
- ₄ U+2084 Subscript Four
- ₅ U+2085 Subscript Five
- ₆ U+2086 Subscript Six
- ₇ U+2087 Subscript Seven
- ₈ U+2088 Subscript Eight
- ₊ U+208A Subscript Plus Sign
- ₋ U+208B Subscript Minus
- ₌ U+208C Subscript Equals Sign
- ₍ U+208D Subscript Left Parenthesis
- ₎ U+208E Subscript Right Parenthesis
- U+208F Modifier Letter High And Low Vertical Line
- ₐ U+2090 Latin Subscript Small Letter A
- ₑ U+2091 Latin Subscript Small Letter E
All 46 characters: Superscripts and Subscripts.
Official reference
Questions people ask
- What is the HTML code for ₉?
- Use ₉ (decimal) or ₉ (hex).
- What is the UTF-8 encoding of U+2089?
- E2 82 89 (hex), 3 bytes. In a URL it is %E2%82%89.
- How do I write U+2089 in JavaScript or Python?
- JavaScript: \u2089. Python: \u2089.
Source
Unicode Character Database 18.0.0 (Unicode License v3); HTML entity names from the WHATWG HTML Standard (CC BY 4.0). The encodings above are computed from the code point and checked against Python's encoders. How the character looks depends on your fonts.
Legal entity
Devansh Yadav
Moradabad, Uttar Pradesh
Governing law: Courts at Moradabad, Uttar Pradesh
Phone: +91 8433475698
Legal: legal@analyzeit.in