೨ is the Unicode character KANNADA DIGIT TWO, code point U+0CE8 (decimal 3304) in the Kannada block, added in Unicode 1.1. In HTML write ೨, and in UTF-8 it is the 3 bytes E0 B3 A8.
Codes
| Where | How to write it |
|---|---|
| Code point | U+0CE8 |
| Decimal | 3304 |
| UTF-8 bytes | E0 B3 A8 |
| UTF-16 (big-endian) | 0CE8 |
| UTF-32 | 00000CE8 |
| HTML decimal | ೨ |
| HTML hex | ೨ |
| CSS | \CE8 |
| JavaScript | \u0CE8 |
| JSON | \u0CE8 |
| Python | \u0CE8 |
| Python by name | \N{KANNADA DIGIT TWO} |
| Java, C# | \u0CE8 |
| Rust, Swift | \u{CE8} |
| Go, C, C++ | \u0CE8 |
| URL (percent-encoded) | %E0%B3%A8 |
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 | KANNADA DIGIT TWO |
| Code point | U+0CE8 (decimal 3304) |
| Block | Kannada (U+0C80–U+0CFF) |
| General category | Nd: Decimal digit |
| Script | Kannada |
| Bidirectional class | L: Left-to-right |
| Numeric value | 2 |
| Mirrored in right-to-left text | No |
| First in Unicode version | 1.1 |
Nearby in Kannada
- ೝ U+0CDD Kannada Letter Nakaara Pollu
- ೞ U+0CDE Kannada Letter Fa
- ೠ U+0CE0 Kannada Letter Vocalic Rr
- ೡ U+0CE1 Kannada Letter Vocalic Ll
- U+0CE2 Kannada Vowel Sign Vocalic L
- U+0CE3 Kannada Vowel Sign Vocalic Ll
- ೦ U+0CE6 Kannada Digit Zero
- ೧ U+0CE7 Kannada Digit One
- ೩ U+0CE9 Kannada Digit Three
- ೪ U+0CEA Kannada Digit Four
- ೫ U+0CEB Kannada Digit Five
- ೬ U+0CEC Kannada Digit Six
- ೭ U+0CED Kannada Digit Seven
- ೮ U+0CEE Kannada Digit Eight
- ೯ U+0CEF Kannada Digit Nine
- ೱ U+0CF1 Kannada Sign Jihvamuliya
All 92 characters: Kannada.
Official reference
Questions people ask
- What is the HTML code for ೨?
- Use ೨ (decimal) or ೨ (hex).
- What is the UTF-8 encoding of U+0CE8?
- E0 B3 A8 (hex), 3 bytes. In a URL it is %E0%B3%A8.
- How do I write U+0CE8 in JavaScript or Python?
- JavaScript: \u0CE8. Python: \u0CE8.
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