⬟ is the Unicode character BLACK PENTAGON, code point U+2B1F (decimal 11039) in the Miscellaneous Symbols and Arrows block, added in Unicode 5.1. In HTML write ⬟, and in UTF-8 it is the 3 bytes E2 AC 9F.
Codes
| Where | How to write it |
|---|---|
| Code point | U+2B1F |
| Decimal | 11039 |
| UTF-8 bytes | E2 AC 9F |
| UTF-16 (big-endian) | 2B1F |
| UTF-32 | 00002B1F |
| HTML decimal | ⬟ |
| HTML hex | ⬟ |
| CSS | \2B1F |
| JavaScript | \u2B1F |
| JSON | \u2B1F |
| Python | \u2B1F |
| Python by name | \N{BLACK PENTAGON} |
| Java, C# | \u2B1F |
| Rust, Swift | \u{2B1F} |
| Go, C, C++ | \u2B1F |
| URL (percent-encoded) | %E2%AC%9F |
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 | BLACK PENTAGON |
| Code point | U+2B1F (decimal 11039) |
| Block | Miscellaneous Symbols and Arrows (U+2B00–U+2BFF) |
| General category | So: Other symbol |
| Script | Common |
| Bidirectional class | ON: Other neutral |
| Mirrored in right-to-left text | No |
| First in Unicode version | 5.1 |
Nearby in Miscellaneous Symbols and Arrows
- ⬗ U+2B17 Diamond With Right Half Black
- ⬘ U+2B18 Diamond With Top Half Black
- ⬙ U+2B19 Diamond With Bottom Half Black
- ⬚ U+2B1A Dotted Square
- ⬛ U+2B1B Black large square
- ⬜ U+2B1C White large square
- ⬝ U+2B1D Black Very Small Square
- ⬞ U+2B1E White Very Small Square
- ⬠ U+2B20 White Pentagon
- ⬡ U+2B21 White Hexagon
- ⬢ U+2B22 Black Hexagon
- ⬣ U+2B23 Horizontal Black Hexagon
- ⬤ U+2B24 Black Large Circle
- ⬥ U+2B25 Black Medium Diamond
- ⬦ U+2B26 White Medium Diamond
- ⬧ U+2B27 Black Medium Lozenge
All 254 characters: Miscellaneous Symbols and Arrows.
Official reference
Questions people ask
- What is the HTML code for ⬟?
- Use ⬟ (decimal) or ⬟ (hex).
- What is the UTF-8 encoding of U+2B1F?
- E2 AC 9F (hex), 3 bytes. In a URL it is %E2%AC%9F.
- How do I write U+2B1F in JavaScript or Python?
- JavaScript: \u2B1F. Python: \u2B1F.
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