Live data from Hacker News

Some flag emojis aren’t working on Chrome on Windows

geyer.dev

261–270 of 328 posts

Re: Some flag emojis aren’t working on Chrome on Windows

#261
post #58

> Out of desperation I asked ChatGPT. It was useless as usual. This is so real.

Did they even try? 3.6 Sonnet, R1, 4o, and o3-mini-high all correctly diagnosed the issue given the same basic prompt, albeit with varying levels of utility.

Heck, even pasting the "prompt" into non-AI Google and Bing worked.

Re: Some flag emojis aren’t working on Chrome on Windows

#262

Earlier quoted context omitted.

that's different, they had location-dependent names at the time of this article too, the issue is specifically about the fact that even if you have location-dependent names you'd use the name that is commonly used in that location, not an arbitrary regulation name.

I thought they used the Geographic Names Information System (GNIS) from the USGS. If this buffoonery does pass, it will reflect in the government official data source - and thus on Google maps?

And nobody outside of the US cares about what's inside those official databases. If Trump changes the name of China to "Smelly Food Country" it might be required to change this in US Google Maps But if this propagates to Google Maps in other countries people will just laugh at them and might stop using it.

Re: Some flag emojis aren’t working on Chrome on Windows

#263
post #54

Earlier quoted context omitted.

It’s the reality of doing business all around the world. Either you chose sides, create different releases of software for some countries (deployment nightmare), or just remove such „sensitive“ features.

BTW the USA is now one of these "sensitive countries" where apps have to lie to legally do business. Just like Chinese users see Taiwan labeled as China, American users see (or will soon see) the Gulf of Mexico labeled as the Gulf of America.

[deleted]

Re: Some flag emojis aren’t working on Chrome on Windows

#264
post #48

yes, we know, there are historical territorial disputes all over the world. But can somebody here make a case that this is not actually/solely to appease China (over Taiwan presumably)?

Chinese denialism over Taiwan is really, really demented. It's not that they just claim Taiwan - they pretend they already own it, and stick their fingers in their ears if you point out facts on the ground. I suppose they did the same with Mongolia, until they couldn't.

[flagged]

Re: Some flag emojis aren’t working on Chrome on Windows

#265

Earlier quoted context omitted.

> Aside: my personal belief is that the political charge here lies with Unicode having codepoints for such countries, and downstream dependents of Unicode can readily point the finger. Displaying monochrome text of a country abbreviation instead of a flag doesn't seem like it would appease those who don't want the country acknowledged, anyhow; a "missing glyph" type of thing would come closer. Flags are Political Sym…

It's a bit confusing that folks who consider Taiwan a province and not a country wouldn't take issue (or at least see it as a minor issue relative to the presence of a flag) with it being included among ISO country codes. In other words, if Microsoft were to be walking on eggshells enough to omit flags wholesale, I'm surprised they don't also omit all things that enumerate ISO country codes. I see your point that fla…

In this case, Microsoft also isn't saying "this is an ISO country code", it's just outputting the letters embedded in the ZWJ sequence as worst case fallback letters in an intentionally ugly fallback font block. Those letters come from ISO country codes in working flag emoji, but Microsoft's approach is "dumb passthrough", Microsoft isn't making any political decisions or validating the ISO country codes are actually ISO country codes or anything, it's just outputting "raw data" from the emoji contents itself.

Windows also doesn't have an "ISO Country Code Picker" here. They don't provide tools to make flag emoji at all.

Re: Some flag emojis aren’t working on Chrome on Windows

#266
post #29

Earlier quoted context omitted.

Yeah, but there is definitely no better option. If I come across a site that is not in English, but I see a little flag somewhere, that is a very good indicator that that's the place I can go and change the language to English. (Happens a lot more when you're travelling in a non-English-speaking country.)

https://languageicon.org/ strikes me as a plausibly better option for the scenario you describe.

It's a bit ironic that this page doesn't include a usage of the icon or any localization at all.

Re: Some flag emojis aren’t working on Chrome on Windows

#267

Earlier quoted context omitted.

> Aside: my personal belief is that the political charge here lies with Unicode having codepoints for such countries, and downstream dependents of Unicode can readily point the finger. Displaying monochrome text of a country abbreviation instead of a flag doesn't seem like it would appease those who don't want the country acknowledged, anyhow; a "missing glyph" type of thing would come closer. Flags are Political Sym…

I can blame Microsoft. Every other tech company and OS figured out how to make it work and they're not exactly buckling under the weight of legal or political pressure on the matter of flags.

If you had the choice between "no lawsuits at all" and "lawsuits in random months by random countries for things that can escalate to violence and wars" you wouldn't take "no lawsuits at all"?

Even if very few of the lawsuits actually escalate to violence or war, is any risk of violence/war worth it? Ethics would suggest "all my competitors are doing it" isn't a great answer here, either, and certainly doesn't remove the risk.

I can respect the "no lawsuits at all" preference here.

Re: Some flag emojis aren’t working on Chrome on Windows

#268
post #191

Earlier quoted context omitted.

You're slightly confusing dialects with countries (there can be ones not tied to a single country), but more importantly, this places no hard limit on design, you can have icon variations for dialects as well. (and yes, language switching menus you can't understand are dumb, especially for more complicated cases where names don't even look similar, but unfortunately common)

As they say: a language is a dialect with an army and a navy. And even that criterium quickly breaks down at mild scrutiny. And not just because of landlocked countries. Linguists try to draw some lines in the sand, but in the end the reasons we call Swiss German a dialect and Luxemburgish a language are cultural and political.

Politicians are the ones still trying to draw arbitrary lines based on language. Linguists have largely threw in the towel on this quite some time ago.

Re: Some flag emojis aren’t working on Chrome on Windows

#269
post #7

> My approach was to draw an American flag emoji and then look at the pixels to see if any of them contained a non-grayscale color. This works because the Windows fallback emoji is just black/white text This is the kind of thing that works great for a while, and then an OS update flips the table on how RGB subpixel antialiasing works for the subset of your users with a certain type of display, leading to a false posi…

Unicode's mission is to be able to represent all written text. Once you decide that flags should be part of that you kind of have to include all of them. Including a flag in Unicode isn't a statement that you believe that this country exists, it's a statement that you think there are people who use this flag in written communication.

It doesn't matter what you think the statement is. What matters is what the governments around the world, and specifically in places where you're selling your products, think it implies.

Re: Some flag emojis aren’t working on Chrome on Windows

#270

I don't get why Google doesn't want to ship them with Chrome, since they're not taking any more of a political stance by doing so than they are by shipping them with Android.

A 1.4MB binary size cost is massive. I'm a chrome developer and our threshold for what you need to explain the cost/benefit of is 16KB. To me this just isn't worth the cost.

But this just means that numerous websites are going to offer different versions of that same 1.4Mb download to make it work for themselves.
Post reply on HN