෨ is the Unicode character SINHALA LITH DIGIT TWO, code point U+0DE8 (decimal 3560) in the Sinhala block, added in Unicode 7.0. In HTML write ෨, and in UTF-8 it is the 3 bytes E0 B7 A8.
Codes
| Where | How to write it |
|---|---|
| Code point | U+0DE8 |
| Decimal | 3560 |
| UTF-8 bytes | E0 B7 A8 |
| UTF-16 (big-endian) | 0DE8 |
| UTF-32 | 00000DE8 |
| HTML decimal | ෨ |
| HTML hex | ෨ |
| CSS | \DE8 |
| JavaScript | \u0DE8 |
| JSON | \u0DE8 |
| Python | \u0DE8 |
| Python by name | \N{SINHALA LITH DIGIT TWO} |
| Java, C# | \u0DE8 |
| Rust, Swift | \u{DE8} |
| Go, C, C++ | \u0DE8 |
| URL (percent-encoded) | %E0%B7%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 | SINHALA LITH DIGIT TWO |
| Code point | U+0DE8 (decimal 3560) |
| Block | Sinhala (U+0D80–U+0DFF) |
| General category | Nd: Decimal digit |
| Script | Sinhala |
| Bidirectional class | L: Left-to-right |
| Numeric value | 2 |
| Mirrored in right-to-left text | No |
| First in Unicode version | 7.0 |
Nearby in Sinhala
- U+0DDA Sinhala Vowel Sign Diga Kombuva
- U+0DDB Sinhala Vowel Sign Kombu Deka
- U+0DDC Sinhala Vowel Sign Kombuva Haa Aela-Pilla
- U+0DDD Sinhala Vowel Sign Kombuva Haa Diga Aela-Pilla
- U+0DDE Sinhala Vowel Sign Kombuva Haa Gayanukitta
- U+0DDF Sinhala Vowel Sign Gayanukitta
- ෦ U+0DE6 Sinhala Lith Digit Zero
- ෧ U+0DE7 Sinhala Lith Digit One
- ෩ U+0DE9 Sinhala Lith Digit Three
- ෪ U+0DEA Sinhala Lith Digit Four
- ෫ U+0DEB Sinhala Lith Digit Five
- ෬ U+0DEC Sinhala Lith Digit Six
- ෭ U+0DED Sinhala Lith Digit Seven
- ෮ U+0DEE Sinhala Lith Digit Eight
- ෯ U+0DEF Sinhala Lith Digit Nine
- U+0DF2 Sinhala Vowel Sign Diga Gaetta-Pilla
All 91 characters: Sinhala.
Official reference
Questions people ask
- What is the HTML code for ෨?
- Use ෨ (decimal) or ෨ (hex).
- What is the UTF-8 encoding of U+0DE8?
- E0 B7 A8 (hex), 3 bytes. In a URL it is %E0%B7%A8.
- How do I write U+0DE8 in JavaScript or Python?
- JavaScript: \u0DE8. Python: \u0DE8.
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