۱ is the Unicode character EXTENDED ARABIC-INDIC DIGIT ONE, code point U+06F1 (decimal 1777) in the Arabic block, added in Unicode 1.1. In HTML write ۱, and in UTF-8 it is the 2 bytes DB B1.
Codes
| Where | How to write it |
|---|---|
| Code point | U+06F1 |
| Decimal | 1777 |
| UTF-8 bytes | DB B1 |
| UTF-16 (big-endian) | 06F1 |
| UTF-32 | 000006F1 |
| HTML decimal | ۱ |
| HTML hex | ۱ |
| CSS | \6F1 |
| JavaScript | \u06F1 |
| JSON | \u06F1 |
| Python | \u06F1 |
| Python by name | \N{EXTENDED ARABIC-INDIC DIGIT ONE} |
| Java, C# | \u06F1 |
| Rust, Swift | \u{6F1} |
| Go, C, C++ | \u06F1 |
| URL (percent-encoded) | %DB%B1 |
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 | EXTENDED ARABIC-INDIC DIGIT ONE |
| Code point | U+06F1 (decimal 1777) |
| Block | Arabic (U+0600–U+06FF) |
| General category | Nd: Decimal digit |
| Script | Arabic |
| Bidirectional class | EN: European number |
| Numeric value | 1 |
| Mirrored in right-to-left text | No |
| First in Unicode version | 1.1 |
Nearby in Arabic
- ۩ U+06E9 Arabic Place Of Sajdah
- U+06EA Arabic Empty Centre Low Stop
- U+06EB Arabic Empty Centre High Stop
- U+06EC Arabic Rounded High Stop With Filled Centre
- U+06ED Arabic Small Low Meem
- ۮ U+06EE Arabic Letter Dal With Inverted V
- ۯ U+06EF Arabic Letter Reh With Inverted V
- ۰ U+06F0 Extended Arabic-Indic Digit Zero
- ۲ U+06F2 Extended Arabic-Indic Digit Two
- ۳ U+06F3 Extended Arabic-Indic Digit Three
- ۴ U+06F4 Extended Arabic-Indic Digit Four
- ۵ U+06F5 Extended Arabic-Indic Digit Five
- ۶ U+06F6 Extended Arabic-Indic Digit Six
- ۷ U+06F7 Extended Arabic-Indic Digit Seven
- ۸ U+06F8 Extended Arabic-Indic Digit Eight
- ۹ U+06F9 Extended Arabic-Indic Digit Nine
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+06F1?
- DB B1 (hex), 2 bytes. In a URL it is %DB%B1.
- How do I write U+06F1 in JavaScript or Python?
- JavaScript: \u06F1. Python: \u06F1.
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