Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Flag emoji compatibility Issue #2041

Open
victorPuebla opened this issue Jul 19, 2023 · 1 comment
Open

Flag emoji compatibility Issue #2041

victorPuebla opened this issue Jul 19, 2023 · 1 comment

Comments

@victorPuebla
Copy link

victorPuebla commented Jul 19, 2023

Expected behavior

ing-input-telephone country selector should render flags based in unicode characters from countrycodes.

Actual Behavior

Render country codes instead of flags on Windows 11:
Chrome 114.0.5735.199
Edge 114.0.1823.82

Additional context

OJ support response:

There aren't flag emojis and there problably won't be. The reason is pretty simple and can't be worked around in any satysfying way:

Country flags aren't actually a single unicode character, but a combination of unicode characters that are interpreted as a flag. When you receive the country flag equivalent of "US", it is interpreted as the United States flag. It means that it's up to each emoji implementation to interpret flag codes, which means that there is a potential PR nightmare to deal with in case a country isn't recognized internationaly.

Should microsoft decide to recognize the Israelian flag ? The Palestinian flag ? Taiwan flag ? How is Microsoft supposed to decide what flag to display or not if part of a country decides to declare independance ? Some companies have decided to represent all flags, some have decided to display different flags depending on where the user is located, an Microsoft decided to display none.

Source: https://answers.microsoft.com/en-us/windows/forum/all/flag-emoji/85b163bc-786a-4918-9042-763ccf4b6c05

@gerjanvangeest
Copy link
Member

We solved it in our own extension layer. Not sure we want to fix it also in lion, since that will make it less "white label". Probably best to remove the flag from the default input-telephone, and only show an example in which we use flags (including a warning about Windows).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants