Tags (Unicode block)
≈ 2 min read
Names in other languages
No names in other languages are held for this entry yet.
Article bodies are English and are not machine-translated. A name in another language is not a translation of the article.
Tags is a Unicode block containing formatting tag characters. The block is designed to mirror ASCII. It was originally intended for language tags, but has now been repurposed as emoji modifiers, specifically for region flags.
Tags is a Unicode block containing formatting tag characters. The block is designed to mirror ASCII. It was originally intended for language tags, but has now been repurposed as emoji modifiers, specifically for region flags. The only usage specified is for representing the flags of regions, alongside the use of Regional Indicator Symbols for national flags. These sequences consist of followed by a sequence of tags corresponding to the region as coded in the CLDR, then .
For example, using the tags for "gbeng": 🏴 will cause some systems to display the flag of England (🏴), those for "gbsct": 🏴 the flag of Scotland (🏴), and those for "gbwls": 🏴 the flag of Wales (🏴). The tag sequences are derived from ISO 3166-2, but sequences representing other subnational flags (for example US states) are also possible using this mechanism.
However, as of Unicode version 12.0 only the three flag sequences listed above are "Recommended for General Interchange" by the Unicode Consortium, meaning they are "most likely to be widely supported across multiple platforms". Tags have been used to create invisible prompt injections on LLMs.
History
The following Unicode-related documents record the purpose and process of defining specific characters in the Tags block:
Text derived from https://en.wikipedia.org/w/index.php?oldid=1369080496 under CC BY-SA 4.0; modifications have been made.