គ is the Unicode character KHMER LETTER KO, code point U+1782 (decimal 6018) in the Khmer block, added in Unicode 3.0. In HTML write គ, and in UTF-8 it is the 3 bytes E1 9E 82.
Codes
| Where | How to write it |
|---|---|
| Code point | U+1782 |
| Decimal | 6018 |
| UTF-8 bytes | E1 9E 82 |
| UTF-16 (big-endian) | 1782 |
| UTF-32 | 00001782 |
| HTML decimal | គ |
| HTML hex | គ |
| CSS | \1782 |
| JavaScript | \u1782 |
| JSON | \u1782 |
| Python | \u1782 |
| Python by name | \N{KHMER LETTER KO} |
| Java, C# | \u1782 |
| Rust, Swift | \u{1782} |
| Go, C, C++ | \u1782 |
| URL (percent-encoded) | %E1%9E%82 |
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 KO |
| Code point | U+1782 (decimal 6018) |
| 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+1781 Khmer Letter Kha
- ឃ 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
- ដ U+178A Khmer Letter Da
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+1782?
- E1 9E 82 (hex), 3 bytes. In a URL it is %E1%9E%82.
- How do I write U+1782 in JavaScript or Python?
- JavaScript: \u1782. Python: \u1782.
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