Live data from Hacker News

Some flag emojis aren’t working on Chrome on Windows

geyer.dev

221–230 of 328 posts

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

#221
post #183

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.

Firefox has an custom cert management. Chrome relies on the os certs. I think that's the correct way how software should works.

Chrome runs a root program, and has for a few years.

>Standardizing the set of CAs trusted by Chrome across platforms through the transition to the Chrome Root Store, coupled with a consistent certificate verification experience through the use of the Chrome Certificate Verifier, will result in more consistent user and developer experiences.

https://blog.chromium.org/2022/09/announcing-launch-of-chrom...

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

#222

Earlier quoted context omitted.

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.

Sorry, but a Chrome developer complaining about 1.4MB being too "massive" is just the funniest thing ever! xD

google.com homepage

  59 requests 1.2 MB transferred 3.1 MB resources

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

#223
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.

Two things:

1) Don’t lie. Apps don’t have to “lie” to do business in America. If someone labels the Gulf as the “Gulf of Mexico”, there’s not really a goddamn thing the Federal Government can do about it except throw a shit fit. The fullest extent that they can enforce this is on contractors making products and services specifically for the Federal Government’s and Military’s own use.

2) Maps apps are probably going to relabel it as the Gulf of America anyway within America, and it’s not exactly a lie. Barring any issue with Congress, if there’s some statute buried somewhere that legally enforces the name of the Gulf to be the Gulf of Mexico, it isn’t exactly a lie if the President exercising the authority of the Office of the President renames a geographical feature that’s at least partly touched by the US. There’s a lot of geographical features that have different names either in different languages, different locales or both, and it’s fully within the Executive branch’s purview to name them. They do so all the time, although typically for the more obscure things nowadays since for anything too prominent, the name was decided long ago.

Maps apps can set their own policy on this, but generally the easiest course of action is to defer to governing authorities.

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

#225
> although you’ll still be on the hook for downloading the entire 1.4MB font file

I haven't tested with emojis (never thought of it, great test case!) but try Fontimize, which creates font subsets based on text your site actually uses. It runs over the HTML and CSS and creates an applicable subset.

But the Python API supports passing just some specific text. Try using that, passing any and every flag you wish. You should be able to get a font file that contains just the country flags this way.

I really need to get back to this library and add predefined subsets like, say, extended Latin, or country flags!

https://github.com/vintagedave/Fontimize

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

#226

The main issue I have with these flags is that they are more often than not used to indicate language, not country. But many countries have more than one official language and many languages are official language of more than one country. Not many languages have some official flags though. There is one for Esperanto and Francophonie for example. But while anyone speaking Esperanto will certainly recognize the green f…

i wish there was a unicode version of that thing 文A Wikipedia does for language switch

Not trying to be funny or anything, but you just typed the 文A thing!

With some CSS you can make it indistinguishable from an icon

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

#227
post #217
post #122

Earlier quoted context omitted.

Yup. The top 7 most spoken languages in India are in the top 30 worldwide. And the top 3 in China are in the top 10 worldwide if you split up Cantonese (which is mutually unintelligible from most Mandarin languoids)

sorry but there's no "Cantonese text", both Cantonese and Mandarin are written in Chinese. It's like Java and Scala both compiles to JVM bytecode. (yes I am aware hk people chose to write 粤语白字 in a particular way, because the orthography movement failed in the 70s)

[deleted]

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

#228

Earlier quoted context omitted.

Shouldn’t the Irish flag represent Irish Gaelic though?

English is an official language of Ireland, and by far the most wildly spoken. Gaeilge is also an official language but However, this is another reason why flags aren't a good choice for languages. It works for some of the main languages - German, French, etc. where there's a clear one to one link between originating country's flag and language. It's less clear for English - the UK flag, the US flag, the Irish flag a…

If somebody said to me, “I speak American”, I would infer that they meant the American dialect of the English language. If they said “I speak Irish”, I would infer that they meant Irish Gaelic. Similarly, if I saw a Welsh flag on a language selection UI, I would assume that it represented the Welsh Brythonic language even though most Welsh people speak English.

Unicode makes this hard (though it does provide the Welsh flag) but in principle you could solve this for some minority languages. For instance if you wanted to support Catalan, just use the flag of Catalonia, since they have one. You don’t need to have a country to have a flag, and you don’t need to have a country for your flag to become part of Unicode. Unicode has the transgender flag for instance. For Balinese maybe I would just use the flag of Bali.

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

#229
post #196

Earlier quoted context omitted.

So - for English, I'll use the Jamaican flag. - for Russian, I'll use the flag of South Ossetia. - for German, I'll use the flag of Austria. - for French, I'll use the Malinese Flag. - for Dutch, I'll use flag of Suriname. just see how happy people are with this ;)

Joking aside, I have heard of people deliberately doing a sort of inverse version of this. For example, if you live in Barcelona then Ubuntu's installer will detect you as being in Madrid's timezones and wanted to use Spain Spanish locale. If you insist that you're in Andorra you get an equivalent timezone and the Catalan locale (which is the preference for a lot of people, despite the bizarre way of reporting time).

I do this all the time:

    - I want proper English,
    - and Proper SI units, 
    - and Euro as currency. 
So I put myself in Dublin.

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

#230

The main issue I have with these flags is that they are more often than not used to indicate language, not country. But many countries have more than one official language and many languages are official language of more than one country. Not many languages have some official flags though. There is one for Esperanto and Francophonie for example. But while anyone speaking Esperanto will certainly recognize the green f…

Also, transgender is not a country. The flags don't necessarily represent countries.
Post reply on HN