ខ is the Unicode character KHMER LETTER KHA, code point U+1781 (decimal 6017) in the Khmer block, added in Unicode 3.0. In HTML write ខ, and in UTF-8 it is the 3 bytes E1 9E 81.
Codes
| Where | How to write it |
|---|---|
| Code point | U+1781 |
| Decimal | 6017 |
| UTF-8 bytes | E1 9E 81 |
| UTF-16 (big-endian) | 1781 |
| UTF-32 | 00001781 |
| HTML decimal | ខ |
| HTML hex | ខ |
| CSS | \1781 |
| JavaScript | \u1781 |
| JSON | \u1781 |
| Python | \u1781 |
| Python by name | \N{KHMER LETTER KHA} |
| Java, C# | \u1781 |
| Rust, Swift | \u{1781} |
| Go, C, C++ | \u1781 |
| URL (percent-encoded) | %E1%9E%81 |
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 LETTER KHA |
| Code point | U+1781 (decimal 6017) |
| Block | Khmer (U+1780–U+17FF) |
| General category | Lo: Other letter |
| Script | Khmer |
| Bidirectional class | L: Left-to-right |
| Mirrored in right-to-left text | No |
| First in Unicode version | 3.0 |
Nearby in Khmer
- ក U+1780 Khmer Letter Ka
- គ U+1782 Khmer Letter Ko
- ឃ U+1783 Khmer Letter Kho
- ង U+1784 Khmer Letter Ngo
- ច U+1785 Khmer Letter Ca
- ឆ U+1786 Khmer Letter Cha
- ជ U+1787 Khmer Letter Co
- ឈ U+1788 Khmer Letter Cho
- ញ U+1789 Khmer Letter Nyo
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+1781?
- E1 9E 81 (hex), 3 bytes. In a URL it is %E1%9E%81.
- How do I write U+1781 in JavaScript or Python?
- JavaScript: \u1781. Python: \u1781.
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