⚑ is the Unicode character BLACK FLAG, code point U+2691 (decimal 9873) in the Miscellaneous Symbols block, added in Unicode 4.0. In HTML write ⚑, and in UTF-8 it is the 3 bytes E2 9A 91.
Codes
| Where | How to write it |
|---|---|
| Code point | U+2691 |
| Decimal | 9873 |
| UTF-8 bytes | E2 9A 91 |
| UTF-16 (big-endian) | 2691 |
| UTF-32 | 00002691 |
| HTML decimal | ⚑ |
| HTML hex | ⚑ |
| CSS | \2691 |
| JavaScript | \u2691 |
| JSON | \u2691 |
| Python | \u2691 |
| Python by name | \N{BLACK FLAG} |
| Java, C# | \u2691 |
| Rust, Swift | \u{2691} |
| Go, C, C++ | \u2691 |
| URL (percent-encoded) | %E2%9A%91 |
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 FLAG |
| Code point | U+2691 (decimal 9873) |
| Block | Miscellaneous Symbols (U+2600–U+26FF) |
| General category | So: Other symbol |
| Script | Common |
| Bidirectional class | ON: Other neutral |
| Mirrored in right-to-left text | No |
| First in Unicode version | 4.0 |
Nearby in Miscellaneous Symbols
- ⚉ U+2689 Black Circle With Two White Dots
- ⚊ U+268A Monogram For Yang
- ⚋ U+268B Monogram For Yin
- ⚌ U+268C Digram For Greater Yang
- ⚍ U+268D Digram For Lesser Yin
- ⚎ U+268E Digram For Lesser Yang
- ⚏ U+268F Digram For Greater Yin
- ⚐ U+2690 White Flag
- ⚒ U+2692 Hammer and pick
- ⚓ U+2693 Anchor
- ⚔ U+2694 Crossed swords
- ⚕ U+2695 Medical symbol
- ⚖ U+2696 Balance scale
- ⚗ U+2697 Alembic
- ⚘ U+2698 Flower
- ⚙ U+2699 Gear
All 256 characters: Miscellaneous Symbols.
Official reference
Questions people ask
- What is the HTML code for ⚑?
- Use ⚑ (decimal) or ⚑ (hex).
- What is the UTF-8 encoding of U+2691?
- E2 9A 91 (hex), 3 bytes. In a URL it is %E2%9A%91.
- How do I write U+2691 in JavaScript or Python?
- JavaScript: \u2691. Python: \u2691.
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