ම is the Unicode character SINHALA LETTER MAYANNA, code point U+0DB8 (decimal 3512) in the Sinhala block, added in Unicode 3.0. In HTML write ම, and in UTF-8 it is the 3 bytes E0 B6 B8.
Codes
| Where | How to write it |
|---|---|
| Code point | U+0DB8 |
| Decimal | 3512 |
| UTF-8 bytes | E0 B6 B8 |
| UTF-16 (big-endian) | 0DB8 |
| UTF-32 | 00000DB8 |
| HTML decimal | ම |
| HTML hex | ම |
| CSS | \DB8 |
| JavaScript | \u0DB8 |
| JSON | \u0DB8 |
| Python | \u0DB8 |
| Python by name | \N{SINHALA LETTER MAYANNA} |
| Java, C# | \u0DB8 |
| Rust, Swift | \u{DB8} |
| Go, C, C++ | \u0DB8 |
| URL (percent-encoded) | %E0%B6%B8 |
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 LETTER MAYANNA |
| Code point | U+0DB8 (decimal 3512) |
| Block | Sinhala (U+0D80–U+0DFF) |
| General category | Lo: Other letter |
| Script | Sinhala |
| Bidirectional class | L: Left-to-right |
| Mirrored in right-to-left text | No |
| First in Unicode version | 3.0 |
Nearby in Sinhala
- ද U+0DAF Sinhala Letter Alpapraana Dayanna
- ධ U+0DB0 Sinhala Letter Mahaapraana Dayanna
- න U+0DB1 Sinhala Letter Dantaja Nayanna
- ඳ U+0DB3 Sinhala Letter Sanyaka Dayanna
- ප U+0DB4 Sinhala Letter Alpapraana Payanna
- ඵ U+0DB5 Sinhala Letter Mahaapraana Payanna
- බ U+0DB6 Sinhala Letter Alpapraana Bayanna
- භ U+0DB7 Sinhala Letter Mahaapraana Bayanna
- ඹ U+0DB9 Sinhala Letter Amba Bayanna
- ය U+0DBA Sinhala Letter Yayanna
- ර U+0DBB Sinhala Letter Rayanna
- ල U+0DBD Sinhala Letter Dantaja Layanna
- ව U+0DC0 Sinhala Letter Vayanna
- ශ U+0DC1 Sinhala Letter Taaluja Sayanna
- ෂ U+0DC2 Sinhala Letter Muurdhaja Sayanna
- ස U+0DC3 Sinhala Letter Dantaja Sayanna
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+0DB8?
- E0 B6 B8 (hex), 3 bytes. In a URL it is %E0%B6%B8.
- How do I write U+0DB8 in JavaScript or Python?
- JavaScript: \u0DB8. Python: \u0DB8.
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