SymbolsU+263A · Miscellaneous Symbols
☺
White Smiley
U+263A · decimal 9786 · Miscellaneous Symbols
Every way to write it
6 formsHTML entity
☺
This character has no named entity, so the numeric form is the one to use.
CSS content
\263A
For a content property in a ::before or ::after rule. No semicolon, and mind the trailing space.
JavaScript
\u263A
Valid in a JavaScript or JSON string literal, so it survives files and pipelines that are not UTF-8 clean.
Python
\u263A
The escape for a Python string literal.
URL
%E2%98%BA
Percent-encoded UTF-8, for a query string or a path segment.
UTF-8 bytes
E2 98 BA
3 bytes on the wire. Seeing these as separate garbled characters means something decoded them as single-byte text.
Typing it without copying
system pickermacOS
Control + Command + Space, then search white smiley
Windows
Character Map or Alt + 9786
Groups it belongs to
Characters near it
8Code pointU+263A
EntityNumeric
UTF-83 bytes
ASCIINo