logoalt Hacker News

gnabgiblast Wednesday at 4:50 AM1 replyview on HN

There are no country flags in UTF. The flag you're seeing is the interpretation of a 2 character ISO country code by your OS.

> Although they can be displayed as Roman letters, it is intended that implementations may choose to display them in other ways, such as by using national flags. The Unicode FAQ indicates that this mechanism should be used and that symbols for national flags will not be directly encoded. This allows the Unicode consortium to avoid any issues surrounding which countries to include (and, de facto, recognize), instead leaving it entirely to the system implementation as to which flags to include (see: partially recognized state).

https://en.wikipedia.org/wiki/Regional_indicator_symbol


Replies

bawolfflast Wednesday at 4:57 AM

Sure. My point still stands, you can already encode Taiwan's flag, so what is China allegedly objecting to?

show 1 reply