<!doctype html><htmllang=en><head><metacharset=utf-8><metaname=viewportcontent="width=device-width,initial-scale=1"><linkrel="shortcut icon"href=/img/icon.pngtype=image/png><metaname=generatorcontent="Hugo 0.105.0"><metaproperty="og:title"content="Emoji region flags"><metaproperty="og:description"content="All of the emoji flags in one convenient font?"><metaproperty="og:type"content="article"><metaproperty="og:url"content="http://toasters.rocks/emoji-region-flags/"><metaproperty="og:image"content="http://toasters.rocks/images/2020/01/CA-QC-2.png"><metaproperty="article:section"content><metaproperty="article:published_time"content="2020-01-21T20:36:56+00:00"><metaproperty="article:modified_time"content="2020-01-21T20:40:28+00:00"><metaname=twitter:cardcontent="summary_large_image"><metaname=twitter:imagecontent="http://toasters.rocks/images/2020/01/CA-QC-2.png"><metaname=twitter:titlecontent="Emoji region flags"><metaname=twitter:descriptioncontent="All of the emoji flags in one convenient font?"><metaname=theme-colorcontent="#660066"><title>Emoji region flags - toasters rocks</title><linkrel=stylesheethref=http://toasters.rocks/css/toastersrocks.min.css></head><body><header><imgsrc=/img/icon.png><h1>toasters rocks</h1></header><main><aside><nav><ahref=/><iclass="fas fa-home"></i>
<spanstyle=color:#fe3801>SoundCloud</span></a><br></nav></aside><articlestyle=background-image:url(/images/2020/01/CA-QC-2.png)><divclass=metadatastyle="height:calc((var(--height) - 2em) * .6666666666666666 - 3.5em)"><h2name=top>Emoji region flags</h2><p>All of the emoji flags in one convenient font?</p><iclass="far fa-calendar-alt"></i>
#<aclass="btn btn-sm btn-outline-dark tag-btn"href=http://toasters.rocks/tags/experiments>Experiments</a><br><iclass="fas fa-hourglass"></i> ~3 minutes</div><p>For this project, I’ve been inspired by the <ahref=https://www.emoji.bzh>#emojibzh</a> movement which attempts to include the flag of the Brittany region of France in the emoji repertoire. So, I’ve been looking at it and here’s what I found.</p><p>So far, Unicode does allow for regional flags: while for instance the United Kingdom would be represented as a combination of Regional Indicator Symbol Letter G (U+1F1EC) plus Regional Indicator Symbol Letter B (U+1F1E7) (which is its ISO 3166-1 alpha-2 code made out of Regional Indicator Symbol Letters), Scotland would be a Black Flag (U+1F3F4), its ISO 3166-2 code made out of Tag Latin Small Letters (?U+E0067, U+E0062, U+E0073, U+E0063, U+E0074, spelling out “GBSCT”) and finally a Cancel Tag (U+E007F). That’s fairly complicated, but it works. This way, every region, state or province of every country that has a flag would theorically be represented.</p><p>So if I want the flag of Québec, Canada, where I live, theorically the code would be U+1F3F4 (the black flag), U+E0063, U+E0061, U+E0071, U+E0063 (CAQC), U+E007F (the cancel tag), right? It is valid, yet it won’t work. Yet, at the time I write those lines. That’s because this sequence is not part of RGI (Recommended For General Interchange), which means vendors don’t have to support it (and in practice unless the entire Internet is asking about it it’s not supported at all). So far, only 3 subdivisions are part of RGI, namely England, Scotland, and Wales, all added in 2017. (Interestingly, Northern Ireland could also be part of that club, but their flag never was official.)</p><p>So what gives? There’s some proposals for RGI, namely <ahref=https://www.unicode.org/L2/L2017/17382-rgi-flag-omnibus.pdf>L2/17-382</a> and others that aren’t public yet but are <ahref=https://www.unicode.org/emoji/emoji-requests.html>known to be forwarded to the UTC</a>, but looks like they’re in limbo so far. I guess vendors (such as Google, Facebook, Twitter and other companies who made emoji fonts for their messaging apps) don’t want to litter their fonts and emoji pickers with too much flags.</p><p>I believe we should at least have one emoji font with all (or most) of them, so I’ve been looking at it and I found out the Noto font is <ahref=https://github.com/googlefonts/noto-emoji>open source</a> and comes with Python scripts to make it very easy to add more emojis to it. And guess what, the repository includes all flags for the provinces of Canada, the US states, Mexico states, and Northern Ireland, but they’re disabled by default! So I did the thing and I enabled them (very easy edit in the Makefile), added Catalonia and Bretagne for good measure and generated a new font with them. The scripts makes a beautiful stylization out of the flags they pulled from Wikipedia.</p><p><imgsrc=/images/2020/01/CA-QC.pngalt></p><p><imgsrc=/images/2020/01/FR-BRE-1.pngalt></p><p><imgsrc=/images/2020/01/ES-CT.pngalt></p><p><imgsrc=/images/2020/01/GB-NIR.pngalt></p><p>There you go, #emojibzh, here’s your emoji in Google style. Clockwise from top left, Québec (CA-QC), Bretagne (FR-BRE), Northern Ireland (GB-NIR), Catalonia (ES-CT)