You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Unicode Emoji 5.0 is now in beta stage, due to be released with Unicode 10.0 in June 2017. It defines Tag sequences for subregion flags.
// pseudo codestringfunctionsubregionEmojiFlag(stringcode/*example: "GB-SCT" = Scotland */)varemoji=U(0x1F3F4);/* Waving Black Flag */var(region,subregion)=code.toLower().split("-");foreach(codepointinregion+subregion)emoji+=U(codepoint.lowercase&0xE0000);emoji+=U(0xE007F);/* ETS terminator Tag Cancel */returnemoji;}
You may as well just support it right now, since it is – sadly – very unlikely there will be further changes. (A previous proposal used the Waving White Flag U+1F3F3 instead, like the Rainbow Flag ZWJ Sequence does, but it requires U+FE0F Variation Selector 16 to be rendered as an emoji reliably.)
The text was updated successfully, but these errors were encountered:
Unicode Emoji 5.0 is now in beta stage, due to be released with Unicode 10.0 in June 2017. It defines Tag sequences for subregion flags.
You may as well just support it right now, since it is – sadly – very unlikely there will be further changes. (A previous proposal used the Waving White Flag U+1F3F3 instead, like the Rainbow Flag ZWJ Sequence does, but it requires U+FE0F Variation Selector 16 to be rendered as an emoji reliably.)
The text was updated successfully, but these errors were encountered: