␣ is the Unicode character OPEN BOX, code point U+2423 (decimal 9251) in the Control Pictures block, added in Unicode 1.1. In HTML write ␣, and in UTF-8 it is the 3 bytes E2 90 A3.
Codes
| Where | How to write it |
|---|---|
| Code point | U+2423 |
| Decimal | 9251 |
| UTF-8 bytes | E2 90 A3 |
| UTF-16 (big-endian) | 2423 |
| UTF-32 | 00002423 |
| HTML decimal | ␣ |
| HTML hex | ␣ |
| HTML named | ␣ |
| CSS | \2423 |
| JavaScript | \u2423 |
| JSON | \u2423 |
| Python | \u2423 |
| Python by name | \N{OPEN BOX} |
| Java, C# | \u2423 |
| Rust, Swift | \u{2423} |
| Go, C, C++ | \u2423 |
| URL (percent-encoded) | %E2%90%A3 |
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 | OPEN BOX |
| Code point | U+2423 (decimal 9251) |
| 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+241B Symbol For Escape
- ␜ U+241C Symbol For File Separator
- ␝ U+241D Symbol For Group Separator
- ␞ U+241E Symbol For Record Separator
- ␟ U+241F Symbol For Unit Separator
- ␠ U+2420 Symbol For Space
- ␡ U+2421 Symbol For Delete
- ␢ U+2422 Blank Symbol
-  U+2424 Symbol For Newline
- ␥ U+2425 Symbol For Delete Form Two
- ␦ U+2426 Symbol For Substitute Form Two
- U+2427 Symbol For Delete Square Checker Board Form
- U+2428 Symbol For Delete Rectangular Checker Board Form
- U+2429 Symbol For Delete Medium Shade Form
All 42 characters: Control Pictures.
Official reference
Questions people ask
- What is the HTML code for ␣?
- Use the named entity ␣, or ␣ (decimal) or ␣ (hex).
- What is the UTF-8 encoding of U+2423?
- E2 90 A3 (hex), 3 bytes. In a URL it is %E2%90%A3.
- How do I write U+2423 in JavaScript or Python?
- JavaScript: \u2423. Python: \u2423.
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