ก is the Unicode character THAI CHARACTER KO KAI, code point U+0E01 (decimal 3585) in the Thai block, added in Unicode 1.1. In HTML write ก, and in UTF-8 it is the 3 bytes E0 B8 81.
Codes
| Where | How to write it |
|---|---|
| Code point | U+0E01 |
| Decimal | 3585 |
| UTF-8 bytes | E0 B8 81 |
| UTF-16 (big-endian) | 0E01 |
| UTF-32 | 00000E01 |
| HTML decimal | ก |
| HTML hex | ก |
| CSS | \E01 |
| JavaScript | \u0E01 |
| JSON | \u0E01 |
| Python | \u0E01 |
| Python by name | \N{THAI CHARACTER KO KAI} |
| Java, C# | \u0E01 |
| Rust, Swift | \u{E01} |
| Go, C, C++ | \u0E01 |
| URL (percent-encoded) | %E0%B8%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 | THAI CHARACTER KO KAI |
| Code point | U+0E01 (decimal 3585) |
| Block | Thai (U+0E00–U+0E7F) |
| General category | Lo: Other letter |
| Script | Thai |
| Bidirectional class | L: Left-to-right |
| Mirrored in right-to-left text | No |
| First in Unicode version | 1.1 |
Nearby in Thai
- ข U+0E02 Thai Character Kho Khai
- ฃ U+0E03 Thai Character Kho Khuat
- ค U+0E04 Thai Character Kho Khwai
- ฅ U+0E05 Thai Character Kho Khon
- ฆ U+0E06 Thai Character Kho Rakhang
- ง U+0E07 Thai Character Ngo Ngu
- จ U+0E08 Thai Character Cho Chan
- ฉ U+0E09 Thai Character Cho Ching
All 87 characters: Thai.
Official reference
Questions people ask
- What is the HTML code for ก?
- Use ก (decimal) or ก (hex).
- What is the UTF-8 encoding of U+0E01?
- E0 B8 81 (hex), 3 bytes. In a URL it is %E0%B8%81.
- How do I write U+0E01 in JavaScript or Python?
- JavaScript: \u0E01. Python: \u0E01.
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