How flag emoji work
There's no single βUS flagβ character in Unicode. πΊπΈ is actually two special letters β regional indicators βUβ and βSβ β that renderers combine into a flag. It's an elegant hack with some quirks.
Regional indicator symbols
Unicode has 26 βregional indicatorβ letters (π¦βπΏ, code points U+1F1E6βU+1F1FF). Put two together that match an ISO country code and supporting devices draw the corresponding flag: π« + π· β π«π·.
Why this design
Encoding hundreds of flags individually β and adjudicating political disputes over them β would be a nightmare. By deferring to ISO country codes and letting fonts supply the artwork, Unicode sidesteps the politics and stays flexible.
Quirks
- Platforms without flag support show two letter-boxes (π«π· β βFRβ).
- Some regions/platforms deliberately don't render certain flags.
- Typing three or more regional indicators produces odd partial results.
Frequently asked questions
How are flag emoji encoded?
As two regional-indicator letters matching an ISO country code; supporting fonts render them as a flag.
Why do some flags show as two letters?
The device doesn't support that flag, so it shows the underlying regional-indicator letters instead.