१ is the Unicode character DEVANAGARI DIGIT ONE, code point U+0967 (decimal 2407) in the Devanagari block, added in Unicode 1.1. In HTML write १, and in UTF-8 it is the 3 bytes E0 A5 A7.
Codes
| Where | How to write it |
|---|---|
| Code point | U+0967 |
| Decimal | 2407 |
| UTF-8 bytes | E0 A5 A7 |
| UTF-16 (big-endian) | 0967 |
| UTF-32 | 00000967 |
| HTML decimal | १ |
| HTML hex | १ |
| CSS | \967 |
| JavaScript | \u0967 |
| JSON | \u0967 |
| Python | \u0967 |
| Python by name | \N{DEVANAGARI DIGIT ONE} |
| Java, C# | \u0967 |
| Rust, Swift | \u{967} |
| Go, C, C++ | \u0967 |
| URL (percent-encoded) | %E0%A5%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 | DEVANAGARI DIGIT ONE |
| Code point | U+0967 (decimal 2407) |
| Block | Devanagari (U+0900–U+097F) |
| General category | Nd: Decimal digit |
| Script | Devanagari |
| Bidirectional class | L: Left-to-right |
| Numeric value | 1 |
| Mirrored in right-to-left text | No |
| First in Unicode version | 1.1 |
Nearby in Devanagari
- य़ U+095F Devanagari Letter Yya
- ॠ U+0960 Devanagari Letter Vocalic Rr
- ॡ U+0961 Devanagari Letter Vocalic Ll
- U+0962 Devanagari Vowel Sign Vocalic L
- U+0963 Devanagari Vowel Sign Vocalic Ll
- । U+0964 Devanagari Danda
- ॥ U+0965 Devanagari Double Danda
- ० U+0966 Devanagari Digit Zero
- २ U+0968 Devanagari Digit Two
- ३ U+0969 Devanagari Digit Three
- ४ U+096A Devanagari Digit Four
- ५ U+096B Devanagari Digit Five
- ६ U+096C Devanagari Digit Six
- ७ U+096D Devanagari Digit Seven
- ८ U+096E Devanagari Digit Eight
- ९ U+096F Devanagari Digit Nine
All 128 characters: Devanagari.
Official reference
Questions people ask
- What is the HTML code for १?
- Use १ (decimal) or १ (hex).
- What is the UTF-8 encoding of U+0967?
- E0 A5 A7 (hex), 3 bytes. In a URL it is %E0%A5%A7.
- How do I write U+0967 in JavaScript or Python?
- JavaScript: \u0967. Python: \u0967.
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