٧ is the Unicode character ARABIC-INDIC DIGIT SEVEN, code point U+0667 (decimal 1639) in the Arabic block, added in Unicode 1.1. In HTML write ٧, and in UTF-8 it is the 2 bytes D9 A7.
Codes
| Where | How to write it |
|---|---|
| Code point | U+0667 |
| Decimal | 1639 |
| UTF-8 bytes | D9 A7 |
| UTF-16 (big-endian) | 0667 |
| UTF-32 | 00000667 |
| HTML decimal | ٧ |
| HTML hex | ٧ |
| CSS | \667 |
| JavaScript | \u0667 |
| JSON | \u0667 |
| Python | \u0667 |
| Python by name | \N{ARABIC-INDIC DIGIT SEVEN} |
| Java, C# | \u0667 |
| Rust, Swift | \u{667} |
| Go, C, C++ | \u0667 |
| URL (percent-encoded) | %D9%A7 |
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-INDIC DIGIT SEVEN |
| Code point | U+0667 (decimal 1639) |
| Block | Arabic (U+0600–U+06FF) |
| General category | Nd: Decimal digit |
| Script | Arabic |
| Bidirectional class | AN: Arabic number |
| Numeric value | 7 |
| Mirrored in right-to-left text | No |
| First in Unicode version | 1.1 |
Nearby in Arabic
- U+065F Arabic Wavy Hamza Below
- ٠ U+0660 Arabic-Indic Digit Zero
- ١ U+0661 Arabic-Indic Digit One
- ٢ U+0662 Arabic-Indic Digit Two
- ٣ U+0663 Arabic-Indic Digit Three
- ٤ U+0664 Arabic-Indic Digit Four
- ٥ U+0665 Arabic-Indic Digit Five
- ٦ U+0666 Arabic-Indic Digit Six
- ٨ U+0668 Arabic-Indic Digit Eight
- ٩ U+0669 Arabic-Indic Digit Nine
- ٪ U+066A Arabic Percent Sign
- ٫ U+066B Arabic Decimal Separator
- ٬ U+066C Arabic Thousands Separator
- ٭ U+066D Arabic Five Pointed Star
- ٮ U+066E Arabic Letter Dotless Beh
- ٯ U+066F Arabic Letter Dotless Qaf
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+0667?
- D9 A7 (hex), 2 bytes. In a URL it is %D9%A7.
- How do I write U+0667 in JavaScript or Python?
- JavaScript: \u0667. Python: \u0667.
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