ي is the Unicode character ARABIC LETTER YEH, code point U+064A (decimal 1610) in the Arabic block, added in Unicode 1.1. In HTML write ي, and in UTF-8 it is the 2 bytes D9 8A.
Codes
| Where | How to write it |
|---|---|
| Code point | U+064A |
| Decimal | 1610 |
| UTF-8 bytes | D9 8A |
| UTF-16 (big-endian) | 064A |
| UTF-32 | 0000064A |
| HTML decimal | ي |
| HTML hex | ي |
| CSS | \64A |
| JavaScript | \u064A |
| JSON | \u064A |
| Python | \u064A |
| Python by name | \N{ARABIC LETTER YEH} |
| Java, C# | \u064A |
| Rust, Swift | \u{64A} |
| Go, C, C++ | \u064A |
| URL (percent-encoded) | %D9%8A |
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 YEH |
| Code point | U+064A (decimal 1610) |
| 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+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+0647 Arabic Letter Heh
- و U+0648 Arabic Letter Waw
- ى U+0649 Arabic Letter Alef Maksura
- U+064B Arabic Fathatan
- U+064C Arabic Dammatan
- U+064D Arabic Kasratan
- U+064E Arabic Fatha
- U+064F Arabic Damma
- U+0650 Arabic Kasra
- U+0651 Arabic Shadda
- U+0652 Arabic Sukun
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+064A?
- D9 8A (hex), 2 bytes. In a URL it is %D9%8A.
- How do I write U+064A in JavaScript or Python?
- JavaScript: \u064A. Python: \u064A.
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