▀ is the Unicode character UPPER HALF BLOCK, code point U+2580 (decimal 9600) in the Block Elements block, added in Unicode 1.1. In HTML write ▀, and in UTF-8 it is the 3 bytes E2 96 80.
Codes
| Where | How to write it |
|---|---|
| Code point | U+2580 |
| Decimal | 9600 |
| UTF-8 bytes | E2 96 80 |
| UTF-16 (big-endian) | 2580 |
| UTF-32 | 00002580 |
| HTML decimal | ▀ |
| HTML hex | ▀ |
| HTML named | ▀ |
| CSS | \2580 |
| JavaScript | \u2580 |
| JSON | \u2580 |
| Python | \u2580 |
| Python by name | \N{UPPER HALF BLOCK} |
| Java, C# | \u2580 |
| Rust, Swift | \u{2580} |
| Go, C, C++ | \u2580 |
| URL (percent-encoded) | %E2%96%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 | UPPER HALF BLOCK |
| Code point | U+2580 (decimal 9600) |
| Block | Block Elements (U+2580–U+259F) |
| 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 Block Elements
- ▁ U+2581 Lower One Eighth Block
- ▂ U+2582 Lower One Quarter Block
- ▃ U+2583 Lower Three Eighths Block
- ▄ U+2584 Lower Half Block
- ▅ U+2585 Lower Five Eighths Block
- ▆ U+2586 Lower Three Quarters Block
- ▇ U+2587 Lower Seven Eighths Block
- █ U+2588 Full Block
All 32 characters: Block Elements.
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+2580?
- E2 96 80 (hex), 3 bytes. In a URL it is %E2%96%80.
- How do I write U+2580 in JavaScript or Python?
- JavaScript: \u2580. Python: \u2580.
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