១ is the Unicode character KHMER DIGIT ONE, code point U+17E1 (decimal 6113) in the Khmer block, added in Unicode 3.0. In HTML write ១, and in UTF-8 it is the 3 bytes E1 9F A1.
Codes
| Where | How to write it |
|---|---|
| Code point | U+17E1 |
| Decimal | 6113 |
| UTF-8 bytes | E1 9F A1 |
| UTF-16 (big-endian) | 17E1 |
| UTF-32 | 000017E1 |
| HTML decimal | ១ |
| HTML hex | ១ |
| CSS | \17E1 |
| JavaScript | \u17E1 |
| JSON | \u17E1 |
| Python | \u17E1 |
| Python by name | \N{KHMER DIGIT ONE} |
| Java, C# | \u17E1 |
| Rust, Swift | \u{17E1} |
| Go, C, C++ | \u17E1 |
| URL (percent-encoded) | %E1%9F%A1 |
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 DIGIT ONE |
| Code point | U+17E1 (decimal 6113) |
| Block | Khmer (U+1780–U+17FF) |
| General category | Nd: Decimal digit |
| Script | Khmer |
| Bidirectional class | L: Left-to-right |
| Numeric value | 1 |
| Mirrored in right-to-left text | No |
| First in Unicode version | 3.0 |
Nearby in Khmer
- ៗ U+17D7 Khmer Sign Lek Too
- ៘ U+17D8 Khmer Sign Beyyal
- ៙ U+17D9 Khmer Sign Phnaek Muan
- ៚ U+17DA Khmer Sign Koomuut
- ៛ U+17DB Khmer Currency Symbol Riel
- ៜ U+17DC Khmer Sign Avakrahasanya
- U+17DD Khmer Sign Atthacan
- ០ U+17E0 Khmer Digit Zero
- ២ U+17E2 Khmer Digit Two
- ៣ U+17E3 Khmer Digit Three
- ៤ U+17E4 Khmer Digit Four
- ៥ U+17E5 Khmer Digit Five
- ៦ U+17E6 Khmer Digit Six
- ៧ U+17E7 Khmer Digit Seven
- ៨ U+17E8 Khmer Digit Eight
- ៩ U+17E9 Khmer Digit Nine
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+17E1?
- E1 9F A1 (hex), 3 bytes. In a URL it is %E1%9F%A1.
- How do I write U+17E1 in JavaScript or Python?
- JavaScript: \u17E1. Python: \u17E1.
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