タグシーケンス

Technical/Unicode

特殊なタグ文字(U+E0020からU+E007E)を使用して、イングランド・スコットランド・ウェールズなどの地域旗を表す絵文字旗シーケンス。

While country flags use Regional Indicator pairs, subdivision flags (states, provinces, regions) use a different mechanism: tag sequences. These start with the black flag emoji (🏴 U+1F3F4), followed by tag characters spelling out an ISO 3166-2 code, and end with the cancel tag (U+E007F).

For example, 🏴󠁧󠁢󠁥󠁮󠁧󠁿 (England) is: 🏴 + tag-g + tag-b + tag-e + tag-n + tag-g + cancel tag. The tag characters are invisible and exist solely for this encoding purpose.

Currently only three subdivision flags are in widespread use: England (gbeng), Scotland (gbsct), and Wales (gbwls), though the mechanism supports any ISO 3166-2 code.

関連用語

コードポイント コードポイント
Unicode規格で各文字に割り当てられた固有の数値。U+XXXX形式で表記される(例:😀はU+1F600)。
地域インジケーター (RI) 地域インジケーター (RI)
ISO 3166-1 alpha-2コードに基づき、ペアで使用すると国旗絵文字を形成するUnicode文字(U+1F1E6からU+1F1FF)。

関連ツール

🔍 シーケンスアナライザー シーケンスアナライザー
ZWJ シーケンス、肌の色の修飾子、キーキャップシーケンス、国旗のペアを個別のコンポーネントに分解します。