ទ is the Unicode character KHMER LETTER TO, code point U+1791 (decimal 6033) in the Khmer block, added in Unicode 3.0. In HTML write ទ, and in UTF-8 it is the 3 bytes E1 9E 91.
Codes
| Where | How to write it |
|---|---|
| Code point | U+1791 |
| Decimal | 6033 |
| UTF-8 bytes | E1 9E 91 |
| UTF-16 (big-endian) | 1791 |
| UTF-32 | 00001791 |
| HTML decimal | ទ |
| HTML hex | ទ |
| CSS | \1791 |
| JavaScript | \u1791 |
| JSON | \u1791 |
| Python | \u1791 |
| Python by name | \N{KHMER LETTER TO} |
| Java, C# | \u1791 |
| Rust, Swift | \u{1791} |
| Go, C, C++ | \u1791 |
| URL (percent-encoded) | %E1%9E%91 |
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 TO |
| Code point | U+1791 (decimal 6033) |
| 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+1789 Khmer Letter Nyo
- ដ U+178A Khmer Letter Da
- ឋ U+178B Khmer Letter Ttha
- ឌ U+178C Khmer Letter Do
- ឍ U+178D Khmer Letter Ttho
- ណ U+178E Khmer Letter Nno
- ត U+178F Khmer Letter Ta
- ថ U+1790 Khmer Letter Tha
- ធ U+1792 Khmer Letter Tho
- ន U+1793 Khmer Letter No
- ប U+1794 Khmer Letter Ba
- ផ U+1795 Khmer Letter Pha
- ព U+1796 Khmer Letter Po
- ភ U+1797 Khmer Letter Pho
- ម U+1798 Khmer Letter Mo
- យ U+1799 Khmer Letter Yo
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+1791?
- E1 9E 91 (hex), 3 bytes. In a URL it is %E1%9E%91.
- How do I write U+1791 in JavaScript or Python?
- JavaScript: \u1791. Python: \u1791.
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