⑵ is the Unicode character PARENTHESIZED DIGIT TWO, code point U+2475 (decimal 9333) in the Enclosed Alphanumerics block, added in Unicode 1.1. In HTML write ⑵, and in UTF-8 it is the 3 bytes E2 91 B5.
Codes
| Where | How to write it |
|---|---|
| Code point | U+2475 |
| Decimal | 9333 |
| UTF-8 bytes | E2 91 B5 |
| UTF-16 (big-endian) | 2475 |
| UTF-32 | 00002475 |
| HTML decimal | ⑵ |
| HTML hex | ⑵ |
| CSS | \2475 |
| JavaScript | \u2475 |
| JSON | \u2475 |
| Python | \u2475 |
| Python by name | \N{PARENTHESIZED DIGIT TWO} |
| Java, C# | \u2475 |
| Rust, Swift | \u{2475} |
| Go, C, C++ | \u2475 |
| URL (percent-encoded) | %E2%91%B5 |
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 | PARENTHESIZED DIGIT TWO |
| Code point | U+2475 (decimal 9333) |
| Block | Enclosed Alphanumerics (U+2460–U+24FF) |
| General category | No: Other number |
| Script | Common |
| Bidirectional class | ON: Other neutral |
| Numeric value | 2 |
| Mirrored in right-to-left text | No |
| First in Unicode version | 1.1 |
Decomposition
PARENTHESIZED DIGIT TWO has a compatibility decomposition (compat) 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 Enclosed Alphanumerics
- ⑭ U+246D Circled Number Fourteen
- ⑮ U+246E Circled Number Fifteen
- ⑯ U+246F Circled Number Sixteen
- ⑰ U+2470 Circled Number Seventeen
- ⑱ U+2471 Circled Number Eighteen
- ⑲ U+2472 Circled Number Nineteen
- ⑳ U+2473 Circled Number Twenty
- ⑴ U+2474 Parenthesized Digit One
- ⑶ U+2476 Parenthesized Digit Three
- ⑷ U+2477 Parenthesized Digit Four
- ⑸ U+2478 Parenthesized Digit Five
- ⑹ U+2479 Parenthesized Digit Six
- ⑺ U+247A Parenthesized Digit Seven
- ⑻ U+247B Parenthesized Digit Eight
- ⑼ U+247C Parenthesized Digit Nine
- ⑽ U+247D Parenthesized Number Ten
All 160 characters: Enclosed Alphanumerics.
Official reference
Questions people ask
- What is the HTML code for ⑵?
- Use ⑵ (decimal) or ⑵ (hex).
- What is the UTF-8 encoding of U+2475?
- E2 91 B5 (hex), 3 bytes. In a URL it is %E2%91%B5.
- How do I write U+2475 in JavaScript or Python?
- JavaScript: \u2475. Python: \u2475.
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