␀ is the Unicode character SYMBOL FOR NULL, code point U+2400 (decimal 9216) in the Control Pictures block, added in Unicode 1.1. In HTML write ␀, and in UTF-8 it is the 3 bytes E2 90 80.
Codes
| Where | How to write it |
|---|---|
| Code point | U+2400 |
| Decimal | 9216 |
| UTF-8 bytes | E2 90 80 |
| UTF-16 (big-endian) | 2400 |
| UTF-32 | 00002400 |
| HTML decimal | ␀ |
| HTML hex | ␀ |
| CSS | \2400 |
| JavaScript | \u2400 |
| JSON | \u2400 |
| Python | \u2400 |
| Python by name | \N{SYMBOL FOR NULL} |
| Java, C# | \u2400 |
| Rust, Swift | \u{2400} |
| Go, C, C++ | \u2400 |
| URL (percent-encoded) | %E2%90%80 |
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 | SYMBOL FOR NULL |
| Code point | U+2400 (decimal 9216) |
| Block | Control Pictures (U+2400–U+243F) |
| General category | So: Other symbol |
| Script | Common |
| Bidirectional class | ON: Other neutral |
| Mirrored in right-to-left text | No |
| First in Unicode version | 1.1 |
Nearby in Control Pictures
- ␁ U+2401 Symbol For Start Of Heading
- ␂ U+2402 Symbol For Start Of Text
- ␃ U+2403 Symbol For End Of Text
- ␄ U+2404 Symbol For End Of Transmission
- ␅ U+2405 Symbol For Enquiry
- ␆ U+2406 Symbol For Acknowledge
- ␇ U+2407 Symbol For Bell
- ␈ U+2408 Symbol For Backspace
All 42 characters: Control Pictures.
Official reference
Questions people ask
- What is the HTML code for ␀?
- Use ␀ (decimal) or ␀ (hex).
- What is the UTF-8 encoding of U+2400?
- E2 90 80 (hex), 3 bytes. In a URL it is %E2%90%80.
- How do I write U+2400 in JavaScript or Python?
- JavaScript: \u2400. Python: \u2400.
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