ه is the Unicode character ARABIC LETTER HEH, code point U+0647 (decimal 1607) in the Arabic block, added in Unicode 1.1. In HTML write ه, and in UTF-8 it is the 2 bytes D9 87.
Codes
| Where | How to write it |
|---|---|
| Code point | U+0647 |
| Decimal | 1607 |
| UTF-8 bytes | D9 87 |
| UTF-16 (big-endian) | 0647 |
| UTF-32 | 00000647 |
| HTML decimal | ه |
| HTML hex | ه |
| CSS | \647 |
| JavaScript | \u0647 |
| JSON | \u0647 |
| Python | \u0647 |
| Python by name | \N{ARABIC LETTER HEH} |
| Java, C# | \u0647 |
| Rust, Swift | \u{647} |
| Go, C, C++ | \u0647 |
| URL (percent-encoded) | %D9%87 |
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 | ARABIC LETTER HEH |
| Code point | U+0647 (decimal 1607) |
| Block | Arabic (U+0600–U+06FF) |
| General category | Lo: Other letter |
| Script | Arabic |
| Bidirectional class | AL: Right-to-left (Arabic) |
| Mirrored in right-to-left text | No |
| First in Unicode version | 1.1 |
Nearby in Arabic
- ؿ U+063F Arabic Letter Farsi Yeh With Three Dots Above
- ـ U+0640 Arabic Tatweel
- ف U+0641 Arabic Letter Feh
- ق U+0642 Arabic Letter Qaf
- ك U+0643 Arabic Letter Kaf
- ل U+0644 Arabic Letter Lam
- م U+0645 Arabic Letter Meem
- ن U+0646 Arabic Letter Noon
- و U+0648 Arabic Letter Waw
- ى U+0649 Arabic Letter Alef Maksura
- ي U+064A Arabic Letter Yeh
- U+064B Arabic Fathatan
- U+064C Arabic Dammatan
- U+064D Arabic Kasratan
- U+064E Arabic Fatha
- U+064F Arabic Damma
All 256 characters: Arabic.
Official reference
Questions people ask
- What is the HTML code for ه?
- Use ه (decimal) or ه (hex).
- What is the UTF-8 encoding of U+0647?
- D9 87 (hex), 2 bytes. In a URL it is %D9%87.
- How do I write U+0647 in JavaScript or Python?
- JavaScript: \u0647. Python: \u0647.
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