The regional indicator symbols are a set of 26 alphabetic Unicode characters (A–Z) intended to be used to encode ISO 3166-1 alpha-2 two-letter country codes in a way that allows optional special treatment.
These were defined by as part of the Unicode 6.0 support for emoji, as an alternative to encoding separate characters for each country flag. Although they can be displayed as Roman letters, it is intended that implementations may choose to display them in other ways, such as by using national flags.[1][2] The Unicode FAQ indicates that this mechanism should be used and that symbols for national flags will not be directly encoded.[3]
They are encoded in the range U+1F1E6 🇦 REGIONAL INDICATOR SYMBOL LETTER A to U+1F1FF 🇿 REGIONAL INDICATOR SYMBOL LETTER Z within the Enclosed Alphanumeric Supplement block in the Supplementary Multilingual Plane.[4]
Emoji flag sequences
editA pair of regional indicator symbols is referred to as an emoji flag sequence (although it represents a specific region, not a specific flag for that region).[6]
Out of the 676 possible pairs of regional indicator symbols (26 × 26), only 270 are considered valid Unicode region codes. These are a subset of the region sequences in the Common Locale Data Repository (CLDR):[6][7][8]
- All 256 regular region sequences in the CLDR
- 249 officially assigned ISO 3166-1 alpha-2 codes
- 6 exceptional reservations (Ascension Island, Clipperton Island, Diego Garcia, Ceuta and Melilla, Canary Islands, and Tristan da Cunha)
- 1 user-assigned temporary country code (Kosovo)
- Two of the 35 macroregion sequences in the CLDR (EU and UN)
- All 12 deprecated region sequences in the CLDR (strongly discouraged—intended for backward compatibility only)
deprecated | replacement[10][11] | ||||
---|---|---|---|---|---|
code | region | flag | code | region | possible rendering |
AN | Netherlands Antilles | 🇨🇼 | CW | Curaçao | |
🇸🇽 | SX | Sint Maarten | |||
🇧🇶 | BQ | Caribbean Netherlands | |||
BU | Burma | 🇲🇲 | MM | Myanmar (Burma) | |
CS | Serbia and Montenegro | 🇷🇸 | RS | Serbia | |
🇲🇪 | ME | Montenegro | |||
DD | German Democratic Republic | 🇩🇪 | DE | Germany | |
FX | Metropolitan France | 🇫🇷 | FR | France | |
NT | Neutral Zone | 🇸🇦 | SA | Saudi Arabia | |
🇮🇶 | IQ | Iraq | |||
QU | European Union | 🇪🇺 | EU | European Union | |
SU | Union of Soviet Socialist Republics | 🇷🇺 | RU | Russia | |
🇦🇲 | AM | Armenia | |||
🇦🇿 | AZ | Azerbaijan | |||
🇧🇾 | BY | Belarus | |||
🇪🇪 | EE | Estonia | |||
🇬🇪 | GE | Georgia | |||
🇰🇿 | KZ | Kazakhstan | |||
🇰🇬 | KG | Kyrgyzstan | |||
🇱🇻 | LV | Latvia | |||
🇱🇹 | LT | Lithuania | |||
🇲🇩 | MD | Moldova | |||
🇹🇯 | TJ | Tajikistan | |||
🇹🇲 | TM | Turkmenistan | |||
🇺🇦 | UA | Ukraine | |||
🇺🇿 | UZ | Uzbekistan | |||
TP | East Timor | 🇹🇱 | TL | Timor-Leste | |
YD | Democratic Yemen | 🇾🇪 | YE | Yemen | |
YU | Yugoslavia | 🇷🇸 | RS | Serbia | |
🇲🇪 | ME | Montenegro | |||
ZR | Zaire | 🇨🇩 | CD | Congo - Kinshasa |
A separate mechanism (emoji tag sequences) is used for regional flags, such as England 🏴, Scotland 🏴, Wales 🏴, Texas 🏴 or California 🏴.[12] It uses U+1F3F4 🏴 WAVING BLACK FLAG and formatting tag characters instead of regional indicator symbols. It is based on ISO 3166-2 regions with hyphen removed and lowercase, e.g. GB-ENG → gbeng, terminating with U+E007F CANCEL TAG. Flag of England is therefore represented by a sequence U+1F3F4, U+E0067, U+E0062, U+E0065, U+E006E, U+E0067, U+E007F. In the tenth revision the Unicode consortium was considering U+1F3F3 🏳 WAVING WHITE FLAG instead,[13] but from eleventh onwards it is black.[14] Some vendors choose to include custom zero-width joiner sequences that only show up on their platform, such as WhatsApp and their Refugee Nation Flag 🏳️🟧⬛️🟧.[15]
Unicode block
editRegional indicator symbols subset of Enclosed Alphanumeric Supplement[1] Official Unicode Consortium code chart (PDF) | ||||||||||||||||
0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | A | B | C | D | E | F | |
... | (U+1F100–U+1F1E5 omitted) | |||||||||||||||
U+1F1Ex | 🇦 | 🇧 | 🇨 | 🇩 | 🇪 | 🇫 | 🇬 | 🇭 | 🇮 | 🇯 | ||||||
U+1F1Fx | 🇰 | 🇱 | 🇲 | 🇳 | 🇴 | 🇵 | 🇶 | 🇷 | 🇸 | 🇹 | 🇺 | 🇻 | 🇼 | 🇽 | 🇾 | 🇿 |
Notes
|
Background
editIn 2007 a draft proposal was presented to the Unicode Technical Committee to encode emoji symbols, specifically those in widespread use on mobile phones by Japanese telecommunications companies DoCoMo, KDDI, and SoftBank.[16] The proposed symbols included ten national flags:[17] China (🇨🇳), Germany (🇩🇪), Spain (🇪🇸), France (🇫🇷), the UK (🇬🇧), Italy (🇮🇹), Japan (🇯🇵), South Korea (🇰🇷), Russia (🇷🇺), and the United States (🇺🇸). Encoding these flags but not other countries' flags was considered, by some, as prejudicial.[18] One rejected solution was to encode the ten flags but call them "EMOJI COMPATIBILITY SYMBOL-n" and represent them visually in the Standard as "EC n" instead of showing the flags they represent.[19] Another rejected solution would have allocated 676 codepoints (26×26) for each possible two letter combination of A–Z. They would represent political entities based on ISO 3166 such as "JP" for Japan or Internet ccTLDs (country code top-level domains) such as "EU" for the European Union.[20]
The accepted solution was to add 26 characters for letters used for the representation of regional indicators, which used in pairs would represent the ten national flags and possible future extensions.[2] Per the Unicode Standard "the main purpose of such [regional indicator symbol] pairs is to provide unambiguous roundtrip mappings to certain characters used in the emoji core sets"[21] specifically the ten national flags:[22] 🇨🇳, 🇩🇪, 🇪🇸, 🇫🇷, 🇬🇧, 🇮🇹, 🇯🇵, 🇰🇷, 🇷🇺, and 🇺🇸.
See also
editReferences
edit- ^ Andrew West. "What's new in Unicode 6.0". Babelstone. Archived from the original on 2014-04-06. Retrieved 2014-08-18.
- ^ a b Michael Everson and Ken Whistler. "N3727: Proposal to encode Regional Indicator Symbols in the UCS" (PDF). Working Group Document, ISO/IEC JTC1/SC2/WG2 and UTC. Retrieved 2014-08-18.
- ^ "Unicode FAQ: Emoji and Dingbats". The Unicode Consortium. 2009-10-28. Retrieved 2014-08-18.
- ^ "Enclosed Alphanumeric Supplement, Range 1F100 - 1F1FF, The Unicode Standard, Version 6.0" (PDF). Unicode Consortium. 2010. Retrieved 2014-08-18.
- ^ "Flags". emojipedia.com. Retrieved 2020-02-04.
- ^ a b UTR #51: Unicode Emoji, Annex B: Valid Emoji Flag Sequences, Unicode Consortium web, 2024-08-15
- ^ "UTR #35: Unicode Locale Data Markup Language (LDML), Validity Data". Unicode Consortium.
- ^ "CLDR Releases". Unicode Common Locale Data Repository (CLDR). 2024-10-23.
- ^ "UCD: Emoji Sequence Data for UTR #51". Unicode Consortium. 2024-05-01.
- ^ "UTR #35: Unicode Locale Data Markup Language (LDML), Supplemental Metadata". Unicode Consortium.
- ^ "CLDR v38 Supplemental Metadata". Unicode Common Locale Data Repository (CLDR). 2020-10-28.
- ^ "UTR #51: Unicode Emoji". Unicode Consortium. 2017-05-18.
- ^ "UTR #51: Unicode Emoji".
- ^ "UTS #51: Unicode Emoji".
- ^ "WhatsApp Portal". Copy Paste Dump. R74n. 2020. Archived from the original on 22 June 2021. Retrieved 23 June 2021.
- ^ Momoi, Kat; Davis, Mark; Scherer, Markus (2007-08-03). "L2/07-257: Working Draft Proposal for Encoding Emoji Symbols". Retrieved 2014-08-18.
- ^ "Unicode Mapping for Emoji with Reference to Japanese Carriers, AU/KDDI, DoCoMo, and Softbank" (ZIP archive file format). Retrieved 2014-08-18.
- ^ "L2/09-114 N3607: Towards an encoding of symbol characters used as emoji" (PDF). 2009-04-06. Retrieved 2014-08-18.
- ^ "INCITS/L2/09-304: Comments accompanying the U.S. negative vote on PDAM 8 to ISO/IEC 10646:2003 (SC2 N4078)" (PDF). 2009-08-15. Retrieved 2014-08-18.
- ^ Pentzlin, Karl (2008-08-09). "L2/08-305: Some suggestions about the encoding of national flags as requested by the Emoji proposal" (PDF). Retrieved 2014-08-18.
- ^ The Unicode Standard, Version 6.2, Chapter 15: Symbols (PDF). Unicode, Inc. September 2012. p. 534. ISBN 978-1-936213-07-8.
- ^ "Emoji Sources" (plain text). Unicode, Inc. 2013-12-17. Retrieved 2014-08-18.
Further reading
edit- Jennifer Daniel (March 28, 2022). "The Past and Future of Flag Emoji 🏁". Did Someone Say Emoji?.