০ is the Unicode character BENGALI DIGIT ZERO, code point U+09E6 (decimal 2534) in the Bengali block, added in Unicode 1.1. In HTML write ০, and in UTF-8 it is the 3 bytes E0 A7 A6.
Codes
| Where | How to write it |
|---|---|
| Code point | U+09E6 |
| Decimal | 2534 |
| UTF-8 bytes | E0 A7 A6 |
| UTF-16 (big-endian) | 09E6 |
| UTF-32 | 000009E6 |
| HTML decimal | ০ |
| HTML hex | ০ |
| CSS | \9E6 |
| JavaScript | \u09E6 |
| JSON | \u09E6 |
| Python | \u09E6 |
| Python by name | \N{BENGALI DIGIT ZERO} |
| Java, C# | \u09E6 |
| Rust, Swift | \u{9E6} |
| Go, C, C++ | \u09E6 |
| URL (percent-encoded) | %E0%A7%A6 |
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 | BENGALI DIGIT ZERO |
| Code point | U+09E6 (decimal 2534) |
| Block | Bengali (U+0980–U+09FF) |
| General category | Nd: Decimal digit |
| Script | Bengali |
| Bidirectional class | L: Left-to-right |
| Numeric value | 0 |
| Mirrored in right-to-left text | No |
| First in Unicode version | 1.1 |
Nearby in Bengali
- U+09D7 Bengali Au Length Mark
- ড় U+09DC Bengali Letter Rra
- ঢ় U+09DD Bengali Letter Rha
- য় U+09DF Bengali Letter Yya
- ৠ U+09E0 Bengali Letter Vocalic Rr
- ৡ U+09E1 Bengali Letter Vocalic Ll
- U+09E2 Bengali Vowel Sign Vocalic L
- U+09E3 Bengali Vowel Sign Vocalic Ll
- ১ U+09E7 Bengali Digit One
- ২ U+09E8 Bengali Digit Two
- ৩ U+09E9 Bengali Digit Three
- ৪ U+09EA Bengali Digit Four
- ৫ U+09EB Bengali Digit Five
- ৬ U+09EC Bengali Digit Six
- ৭ U+09ED Bengali Digit Seven
- ৮ U+09EE Bengali Digit Eight
All 96 characters: Bengali.
Official reference
Questions people ask
- What is the HTML code for ০?
- Use ০ (decimal) or ০ (hex).
- What is the UTF-8 encoding of U+09E6?
- E0 A7 A6 (hex), 3 bytes. In a URL it is %E0%A7%A6.
- How do I write U+09E6 in JavaScript or Python?
- JavaScript: \u09E6. Python: \u09E6.
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