Flags are made up of two "regional letter" Unicode symbols. e.g. the 2-letter international code for Iceland is IS, so the Iceland flag is 🇮 Regional Indicator Symbol Letter I and 🇸 Regional Indicator Symbol Letter S
The Union Flag is kinda an exception, it's the flag for the UK but it uses the code for GB.
But really, I could do away with the form for defining country flags, and just put IS for Iceland, and translate that to the emoji at runtime.
And we can do multiple countries, I'd just enter "UK US", say, and get "🇬🇧 🇺🇸"
Provided mapping the 'plain' chars to the regional indicators is easy, this will simplify things
Flags are made up of two "regional letter" Unicode symbols. e.g. the 2-letter international code for Iceland is IS, so the Iceland flag is 🇮 Regional Indicator Symbol Letter I and 🇸 Regional Indicator Symbol Letter S
The Union Flag is kinda an exception, it's the flag for the UK but it uses the code for GB.
But really, I could do away with the form for defining country flags, and just put IS for Iceland, and translate that to the emoji at runtime.
And we can do multiple countries, I'd just enter "UK US", say, and get "🇬🇧 🇺🇸"
Provided mapping the 'plain' chars to the regional indicators is easy, this will simplify things