Skip to content

Instantly share code, notes, and snippets.

@Crissov
Last active November 13, 2022 05:23
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Crissov/cc8880a922bc579b81c576e7f5c418ce to your computer and use it in GitHub Desktop.
Save Crissov/cc8880a922bc579b81c576e7f5c418ce to your computer and use it in GitHub Desktop.
Unicode emoji flag codes for countries that are no more.

UTR#51 actually uses Unicode CLDR region codes for legal/required pairs of Regional Indicator Symbol Letters U+1F1E6โ€“FF, but they are virtually identical to current ISO 3166-1 alpha-2 code elements. Some codes, however, had once been part of ISO 3166 but have since been deleted (and either exceptionally or transitionally reserved) or are indeterminately reserved for compatibility with other international standards. Some exceptional reservations are part of CLDR. Most transitional reservations now have ISO 3166-3 alpha-4 codes, which Unicode does not intend to support. Indeterminate reservations have been very rarely assigned to new countries and this probably wonโ€™t happen again.

Anyhow, many of the currently reserved codes would be represented by flag emojis that are frequently requested and are not covered by the recent amendment to UTR#51 to encode ISO 3166-2 subregions with Emoji Tag Sequences (based on and falling back to a flag emoji, ๐Ÿณ). It would therefore be relatively safe and quite welcome to support these codes.

Code Region Related region Status
๐Ÿ‡ฆ๐Ÿ‡จ Ascension Island ๐Ÿ‡ฌ๐Ÿ‡ง in CLDR and Emoji โ‰ค3.0
๐Ÿ‡ฆ๐Ÿ‡ฎ French Afar and Issas = Djibouti ๐Ÿ‡ฉ๐Ÿ‡ฏ AIDJ, โ†’ Anguilla
๐Ÿ‡ฆ๐Ÿ‡ณ Netherlands Antilles ๐Ÿ‡ง๐Ÿ‡ถ ๐Ÿ‡จ๐Ÿ‡ผ ๐Ÿ‡ธ๐Ÿ‡ฝ ANHH
๐Ÿ‡ฆ๐Ÿ‡ต African Regional Industrial Property Organization โ€ฆ WIPO ST.3
๐Ÿ‡ง๐Ÿ‡ถ British Antarctic Territory ๐Ÿ‡ฆ๐Ÿ‡ถ BQAQ, โ†’ Bonaire, Sint Eustatius and Saba
๐Ÿ‡ง๐Ÿ‡บ Burma = Myanmar ๐Ÿ‡ฒ๐Ÿ‡ฒ BUMM
๐Ÿ‡ง๐Ÿ‡ฝ Benelux Trademarks and Design Offices ๐Ÿ‡ง๐Ÿ‡ช ๐Ÿ‡ณ๐Ÿ‡ฑ ๐Ÿ‡ฑ๐Ÿ‡บ WIPO ST.3
๐Ÿ‡จ๐Ÿ‡ต Clipperton Island ๐Ÿ‡ซ๐Ÿ‡ท in CLDR and Emoji โ‰ค3.0
๐Ÿ‡จ๐Ÿ‡ธ Czechoslovakia ๐Ÿ‡จ๐Ÿ‡ฟ ๐Ÿ‡ธ๐Ÿ‡ฐ CSXX, โ†’ Serbia and Montenegro
๐Ÿ‡จ๐Ÿ‡ธ Serbia and Montenegro ๐Ÿ‡ฒ๐Ÿ‡ช ๐Ÿ‡ท๐Ÿ‡ธ CSHH
๐Ÿ‡จ๐Ÿ‡น Canton and Enderbury Islands = Kiribati ๐Ÿ‡ฐ๐Ÿ‡ฎ CTKI
๐Ÿ‡ฉ๐Ÿ‡ฉ German Democratic Republic ๐Ÿ‡ฉ๐Ÿ‡ช DDDE
๐Ÿ‡ฉ๐Ÿ‡ฌ Diego Garcia ๐Ÿ‡ฌ๐Ÿ‡ง in CLDR and Emoji โ‰ค3.0
๐Ÿ‡ฉ๐Ÿ‡พ Dahomey = Benin ๐Ÿ‡ง๐Ÿ‡ฏ DYBJ
๐Ÿ‡ช๐Ÿ‡ฆ Ceuta, Melilla ๐Ÿ‡ช๐Ÿ‡ธ in CLDR and Emoji โ‰ค3.0
๐Ÿ‡ช๐Ÿ‡ซ Union of Countries under the European Community Patent Convention ๐Ÿ‡ช๐Ÿ‡บ WIPO ST.3
๐Ÿ‡ช๐Ÿ‡ฒ European Trademark Office ๐Ÿ‡ช๐Ÿ‡บโ€ฆ WIPO ST.3
๐Ÿ‡ช๐Ÿ‡ต European Patent Organization ๐Ÿ‡ช๐Ÿ‡บโ€ฆ WIPO ST.3
๐Ÿ‡ช๐Ÿ‡บ European Union โ€ฆ in CLDR and Emoji 3.0
๐Ÿ‡ช๐Ÿ‡ป Eurasian Patent Organization ๐Ÿ‡ท๐Ÿ‡บโ€ฆ WIPO ST.3
๐Ÿ‡ช๐Ÿ‡ผ Estonia ๐Ÿ‡ช๐Ÿ‡ช EE
๐Ÿ‡ช๐Ÿ‡ฟ Eurozone ๐Ÿ‡ช๐Ÿ‡บ โ€”
๐Ÿ‡ซ๐Ÿ‡ฑ (Fรผrstentum) Liechtenstein ๐Ÿ‡ฑ๐Ÿ‡ฎ LI
๐Ÿ‡ซ๐Ÿ‡ถ French Southern and Antarctic Territories ๐Ÿ‡น๐Ÿ‡ซ FQHH
๐Ÿ‡ซ๐Ÿ‡ฝ Metropolitan France ๐Ÿ‡ซ๐Ÿ‡ท FXFR
๐Ÿ‡ฌ๐Ÿ‡จ Patent Office of the Cooperation Council for the Arab States of the Gulf (GCC) ๐Ÿ‡ธ๐Ÿ‡ฆโ€ฆ WIPO ST.3
๐Ÿ‡ฌ๐Ÿ‡ช Gilbert and Ellice Islands ๐Ÿ‡ฐ๐Ÿ‡ฎ ๐Ÿ‡น๐Ÿ‡ป GEHH, โ†’ Georgia
๐Ÿ‡ญ๐Ÿ‡ป Upper Volta = Burkina Faso ๐Ÿ‡ง๐Ÿ‡ซ HVBF
๐Ÿ‡ฎ๐Ÿ‡ง International Bureau of WIPO ๐Ÿ‡บ๐Ÿ‡ณ WIPO ST.3
๐Ÿ‡ฎ๐Ÿ‡จ Canary Islands ๐Ÿ‡ช๐Ÿ‡ธ in CLDR and Emoji โ‰ค3.0
๐Ÿ‡ฏ๐Ÿ‡ฆ Jamaica ๐Ÿ‡ฏ๐Ÿ‡ฒ JM
๐Ÿ‡ฏ๐Ÿ‡น Johnston Island ๐Ÿ‡บ๐Ÿ‡ฒ JTUM
๐Ÿ‡ฑ๐Ÿ‡ซ Libya Fezzan ๐Ÿ‡ฑ๐Ÿ‡พ LY
๐Ÿ‡ฑ๐Ÿ‡น Libya Tripoli ๐Ÿ‡ฑ๐Ÿ‡พ โ†’ Lithuania
๐Ÿ‡ฒ๐Ÿ‡ช Western Sahara ๐Ÿ‡ช๐Ÿ‡ญ โ†’ Montenegro
๐Ÿ‡ฒ๐Ÿ‡ฎ Midway Islands ๐Ÿ‡บ๐Ÿ‡ฒ MIUM
๐Ÿ‡ณ๐Ÿ‡ญ New Hebrides = Vanuatu ๐Ÿ‡ป๐Ÿ‡บ NHVU
๐Ÿ‡ณ๐Ÿ‡ถ Dronning Maud Land ๐Ÿ‡ฆ๐Ÿ‡ถ ๐Ÿ‡ณ๐Ÿ‡ด NQAQ
๐Ÿ‡ณ๐Ÿ‡น Neutral Zone ๐Ÿ‡ฎ๐Ÿ‡ถ ๐Ÿ‡ธ๐Ÿ‡ฆ NTHH
๐Ÿ‡ด๐Ÿ‡ฆ African Intellectual Property Organization โ€ฆ WIPO ST.3
๐Ÿ‡ต๐Ÿ‡จ Pacific Islands, Trust Territory of the ๐Ÿ‡ซ๐Ÿ‡ฒ ๐Ÿ‡ฒ๐Ÿ‡ญ ๐Ÿ‡ต๐Ÿ‡ผ ๐Ÿ‡ฒ๐Ÿ‡ต PCHH
๐Ÿ‡ต๐Ÿ‡ฎ Philippines ๐Ÿ‡ต๐Ÿ‡ญ PH
๐Ÿ‡ต๐Ÿ‡บ US Miscellaneous Pacific Islands ๐Ÿ‡บ๐Ÿ‡ฒ PUUM
๐Ÿ‡ต๐Ÿ‡ฟ Panama Canal Zone ๐Ÿ‡ต๐Ÿ‡ฆ PZPA
๐Ÿ‡ท๐Ÿ‡ฆ Argentina ๐Ÿ‡ฆ๐Ÿ‡ท AR
๐Ÿ‡ท๐Ÿ‡ง Bolivia ๐Ÿ‡ง๐Ÿ‡ด BO
๐Ÿ‡ท๐Ÿ‡ง Botswana ๐Ÿ‡ง๐Ÿ‡ผ BW
๐Ÿ‡ท๐Ÿ‡จ (Republic of) China = Taiwan ๐Ÿ‡น๐Ÿ‡ผ TW
๐Ÿ‡ท๐Ÿ‡ญ (Southern) Rhodesia ๐Ÿ‡ฟ๐Ÿ‡ผ RHZW
๐Ÿ‡ท๐Ÿ‡ญ Haiti ๐Ÿ‡ญ๐Ÿ‡น HT
๐Ÿ‡ท๐Ÿ‡ฎ Indonesia ๐Ÿ‡ฎ๐Ÿ‡ฉ ID
๐Ÿ‡ท๐Ÿ‡ฑ Lebanon ๐Ÿ‡ฑ๐Ÿ‡ง LB
๐Ÿ‡ท๐Ÿ‡ฒ Madagascar ๐Ÿ‡ฒ๐Ÿ‡ฌ MG
๐Ÿ‡ท๐Ÿ‡ณ Niger ๐Ÿ‡ณ๐Ÿ‡ช NE
๐Ÿ‡ท๐Ÿ‡ต Philippines ๐Ÿ‡ต๐Ÿ‡ญ PH
๐Ÿ‡ท๐Ÿ‡บ Burundi ๐Ÿ‡ง๐Ÿ‡ฎ โ†’ Russian Federation
๐Ÿ‡ธ๐Ÿ‡ซ Finland = Suomi ๐Ÿ‡ซ๐Ÿ‡ฎ FI
๐Ÿ‡ธ๐Ÿ‡ฐ Sikkim ๐Ÿ‡ฎ๐Ÿ‡ณ SKIN, โ†’ Slovakia
๐Ÿ‡ธ๐Ÿ‡บ Soviet Union ๐Ÿ‡ท๐Ÿ‡บ๐Ÿ‡ฆ๐Ÿ‡ฒ๐Ÿ‡ฆ๐Ÿ‡ฟ๐Ÿ‡ง๐Ÿ‡พ๐Ÿ‡ช๐Ÿ‡ช๐Ÿ‡ฌ๐Ÿ‡ช๐Ÿ‡ฐ๐Ÿ‡ฟ๐Ÿ‡ฐ๐Ÿ‡ฌ๐Ÿ‡ฑ๐Ÿ‡ป๐Ÿ‡ฑ๐Ÿ‡น๐Ÿ‡ฒ๐Ÿ‡ฉ๐Ÿ‡น๐Ÿ‡ฏ๐Ÿ‡น๐Ÿ‡ฒ๐Ÿ‡บ๐Ÿ‡ฆ๐Ÿ‡บ๐Ÿ‡ฟ SUHH, still a ccTLD
๐Ÿ‡น๐Ÿ‡ฆ Tristan da Cunha ๐Ÿ‡ฌ๐Ÿ‡ง in CLDR and Emoji โ‰ค3.0
๐Ÿ‡น๐Ÿ‡ต East Timor = Timor-Leste ๐Ÿ‡น๐Ÿ‡ฑ TPTL
๐Ÿ‡บ๐Ÿ‡ฐ United Kingdom ๐Ÿ‡ฌ๐Ÿ‡ง ccTLD (ISO/CLDR use GB instead)
๐Ÿ‡บ๐Ÿ‡ณ United Nations โ€ฆ in CLDR and Emoji 4.0
๐Ÿ‡ป๐Ÿ‡ฉ Democratic Republic of (North) Viet-Nam ๐Ÿ‡ป๐Ÿ‡ณ VDVN
๐Ÿ‡ผ๐Ÿ‡ฌ Grenada ๐Ÿ‡ฌ๐Ÿ‡ฉ GD
๐Ÿ‡ผ๐Ÿ‡ฐ Wake Island ๐Ÿ‡บ๐Ÿ‡ฒ WKUM
๐Ÿ‡ผ๐Ÿ‡ฑ Saint Lucia ๐Ÿ‡ฑ๐Ÿ‡จ LC
๐Ÿ‡ผ๐Ÿ‡ด World Intellectual Property Organization ๐Ÿ‡บ๐Ÿ‡ณ WIPO ST.3
๐Ÿ‡ผ๐Ÿ‡ป Saint Vincent ๐Ÿ‡ป๐Ÿ‡จ VC
๐Ÿ‡พ๐Ÿ‡ฉ Democratic (South) Yemen ๐Ÿ‡พ๐Ÿ‡ช YDYE
๐Ÿ‡พ๐Ÿ‡บ Yugoslavia ๐Ÿ‡ฒ๐Ÿ‡ช ๐Ÿ‡ท๐Ÿ‡ธ ๐Ÿ‡ง๐Ÿ‡ฆ ๐Ÿ‡ญ๐Ÿ‡ท ๐Ÿ‡ธ๐Ÿ‡ฎ ๐Ÿ‡ฒ๐Ÿ‡ฐ ๐Ÿ‡ฝ๐Ÿ‡ฐ YUCS, still a ccTLD
๐Ÿ‡พ๐Ÿ‡ป Venezuela ๐Ÿ‡ป๐Ÿ‡ช VE
๐Ÿ‡ฟ๐Ÿ‡ท Zaire = Congo ๐Ÿ‡จ๐Ÿ‡ฉ ZRCD
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment