U+26FE · Other symbol
Cup On Black Square Symbol ⛾
⛾ is cup on black square, U+26FE. Unicode also records it as “drive-in restaurant”. It was added in Unicode 5.2, and Unicode files it under Other symbol.
Also known as
- drive-in restaurant
Codes & technical data
| Unicode | U+26FE | |
|---|---|---|
| HTML hex | ⛾ | |
| HTML decimal | ⛾ | |
| CSS | \26FE | |
| JavaScript | \u{26FE} | |
| Python | \U000026FE | |
| Java / C# | \u26FE | |
| Rust | \u{26fe} | |
| Swift | \u{26FE} | |
| PHP | \u{26FE} | |
| URL encoded | %E2%9B%BE | |
| UTF-8 bytes | E2 9B BE | |
| UTF-16 bytes | 26FE | |
| Base64 | 4pu+ | |
| Decimal | 9982 | |
| Category | Other symbol (So) | |
| Introduced | Unicode 5.2 | |
Will ⛾ survive being pasted?
- Normalisation. Yes. ⛾ is unchanged by NFKC, so it survives normalising systems intact.
- Legacy encodings. ⛾ is Unicode-only — it has no Latin-1 equivalent, so a system stuck on an 8-bit encoding cannot represent it.
- Size. 3 bytes in UTF-8. Character-limited fields — SMS, bios, some form validators — usually count bytes, not characters.
Unicode cross-references
The standard points readers of ⛾ at these characters — usually because they look alike, or because one is the correct choice where the other is often used by mistake.
Other square characters
Unicode names 7 characters ending in “square”. They differ by direction, weight or decoration rather than by meaning.
Nearby in Miscellaneous Symbols
A broad block covering weather, astrology, chess, music, religion and warning signs. Many members also have an emoji presentation, which is why the same character can look monochrome in one app and full-colour in another.
How to type ⛾
| Windows | Type 26FE then press Alt+X |
|---|---|
| macOS | Press Ctrl+Cmd+Space, then search for “cup on black square” |
| Linux | Press Ctrl+Shift+U, type 26fe, press Enter |
| HTML | ⛾ |
About Unicode’s Other symbol category
Unicode files this under "other symbol" — the catch-all for pictographs, signs and marks that are neither maths, currency, nor letter-like. It is the largest symbol category in the standard.
Frequently asked questions
- How do I type the ⛾ cup on black square symbol?
- On Windows, type 26FE and press Alt+X. On Linux press Ctrl+Shift+U then 26fe. On any system the quickest route is the copy button on this page.
- What is the code for ⛾?
- Cup On Black Square is U+26FE. In UTF-8 it takes 3 bytes. The table above lists every escape format.
- What kind of character is ⛾?
- Cup On Black Square is filed under Other symbol in the Miscellaneous Symbols block, and was introduced in Unicode 5.2. Unicode files this under "other symbol" — the catch-all for pictographs, signs and marks that are neither maths, currency, nor letter-like. It is the largest symbol category in the standard.