៛ is the Unicode character KHMER CURRENCY SYMBOL RIEL, code point U+17DB (decimal 6107) in the Khmer block, added in Unicode 3.0. In HTML write ៛, and in UTF-8 it is the 3 bytes E1 9F 9B.
Codes
| Where | How to write it |
|---|---|
| Code point | U+17DB |
| Decimal | 6107 |
| UTF-8 bytes | E1 9F 9B |
| UTF-16 (big-endian) | 17DB |
| UTF-32 | 000017DB |
| HTML decimal | ៛ |
| HTML hex | ៛ |
| CSS | \17DB |
| JavaScript | \u17DB |
| JSON | \u17DB |
| Python | \u17DB |
| Python by name | \N{KHMER CURRENCY SYMBOL RIEL} |
| Java, C# | \u17DB |
| Rust, Swift | \u{17DB} |
| Go, C, C++ | \u17DB |
| URL (percent-encoded) | %E1%9F%9B |
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 | KHMER CURRENCY SYMBOL RIEL |
| Code point | U+17DB (decimal 6107) |
| Block | Khmer (U+1780–U+17FF) |
| General category | Sc: Currency symbol |
| Script | Khmer |
| Bidirectional class | ET: European number terminator |
| Mirrored in right-to-left text | No |
| First in Unicode version | 3.0 |
Nearby in Khmer
- U+17D3 Khmer Sign Bathamasat
- ។ U+17D4 Khmer Sign Khan
- ៕ U+17D5 Khmer Sign Bariyoosan
- ៖ U+17D6 Khmer Sign Camnuc Pii Kuuh
- ៗ U+17D7 Khmer Sign Lek Too
- ៘ U+17D8 Khmer Sign Beyyal
- ៙ U+17D9 Khmer Sign Phnaek Muan
- ៚ U+17DA Khmer Sign Koomuut
- ៜ U+17DC Khmer Sign Avakrahasanya
- U+17DD Khmer Sign Atthacan
- ០ U+17E0 Khmer Digit Zero
- ១ U+17E1 Khmer Digit One
- ២ U+17E2 Khmer Digit Two
- ៣ U+17E3 Khmer Digit Three
- ៤ U+17E4 Khmer Digit Four
- ៥ U+17E5 Khmer Digit Five
All 114 characters: Khmer.
Official reference
Questions people ask
- What is the HTML code for ៛?
- Use ៛ (decimal) or ៛ (hex).
- What is the UTF-8 encoding of U+17DB?
- E1 9F 9B (hex), 3 bytes. In a URL it is %E1%9F%9B.
- How do I write U+17DB in JavaScript or Python?
- JavaScript: \u17DB. Python: \u17DB.
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