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.