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

Women/men holding hands are not exposed as sequences #3

Open
muan opened this issue Nov 4, 2019 · 0 comments
Open

Women/men holding hands are not exposed as sequences #3

muan opened this issue Nov 4, 2019 · 0 comments

Comments

@muan
Copy link
Owner

muan commented Nov 4, 2019

This is due to how the data exposes these sequences. See how people holding hands: light skin tone is made up by 7 code points, while woman and man holding hands: light skin tone has only 2 code points.

1F9D1 200D 1F91D 200D 1F9D1                ; fully-qualified     # 🧑‍🤝‍🧑 E12.1 people holding hands
1F9D1 1F3FB 200D 1F91D 200D 1F9D1 1F3FB    ; fully-qualified     # 🧑🏻‍🤝‍🧑🏻 E12.1 people holding hands: light skin tone
1F9D1 1F3FB 200D 1F91D 200D 1F9D1 1F3FC    ; fully-qualified     # 🧑🏻‍🤝‍🧑🏼 E12.1 people holding hands: light skin tone, medium-light skin tone
...
1F46D                                      ; fully-qualified     # 👭 E2.0 women holding hands
1F46D 1F3FB                                ; fully-qualified     # 👭🏻 E12.1 women holding hands: light skin tone
1F469 1F3FB 200D 1F91D 200D 1F469 1F3FC    ; fully-qualified     # 👩🏻‍🤝‍👩🏼 E12.1 women holding hands: light skin tone, medium-light skin tone
...
1F46B                                      ; fully-qualified     # 👫 E2.0 woman and man holding hands
1F46B 1F3FB                                ; fully-qualified     # 👫🏻 E12.1 woman and man holding hands: light skin tone
1F469 1F3FB 200D 1F91D 200D 1F468 1F3FC    ; fully-qualified     # 👩🏻‍🤝‍👨🏼 E12.1 woman and man holding hands: light skin tone, medium-light skin tone
...
1F46C                                      ; fully-qualified     # 👬 E2.0 men holding hands
1F46C 1F3FB                                ; fully-qualified     # 👬🏻 E12.1 men holding hands: light skin tone
1F468 1F3FB 200D 1F91D 200D 1F468 1F3FC    ; fully-qualified     # 👨🏻‍🤝‍👨🏼 E12.1 men holding hands: light skin tone, medium-light skin tone
...

It seems to me it'd be on the implementer of skin tone support to make sure 👭🏻(👭,🏻) and 👩🏻‍🤝‍👩🏻(👩,🏻,‍,🤝,‍,👩,🏻) are displayed the same, or know that when there are more than one skin tone options, do break them into sequences.

Test cases:

sequence Windows 10 iOS 13.2 Android 10.0
👭(Ⓒ) image image
👩‍🤝‍👩(ⒸⓏⒸⓏⒸ) image image (🆖) (🆖)
👭🏻(Ⓒ 🏿) image
👩🏻‍🤝‍👩🏻(Ⓒ 🏿ⓏⒸⓏⒸ 🏿) image (🆖)
👩🏻‍🤝‍👩🏼(Ⓒ 🏿ⓏⒸⓏⒸ 🏿) image (🆖)
👩🏼‍🤝‍👩🏻(Ⓒ 🏿ⓏⒸⓏⒸ 🏿) image

To summarize–

  • Windows supports all possible variations, including ones not listed in the Unicode list.
  • Apple supports variations listed in the Unicode list.
  • Android selectively support the minimum number of variations that can be made up by the skin tones, and orders matter. In the test case above, you can see that "light + medium light" doesn't work, but "medium light + light" works. (As this screenshot of the keyboard shows)

Potential fixes:

  1. 🤷‍♀
{
  "👭": {
    ..., 
    "sequence": "👩‍🤝‍👩", 
    "skin_tone_support": true
  }
}
  1. Showing sequence by default
{
  "👭": {
    ..., 
    "name": "women_holding_hands",
    "skin_tone_support": true
  },
  "👩‍🤝‍👩": {
    ..., 
    "name": "women_holding_hands_sequence",
    "skin_tone_support": true
  }
}
  1. 😷
{
  "👭": {
    ..., 
    "skin_tone_support": {
      "light": "👭🏻", 
      "light_medium_light": "👩🏻‍🤝‍👩🏼", 
      ...
    }
  }
}
  1. 🤢 (more than double the size of the JSON file)
{
  "👭🏻": {...},
  "👭🏻": {...},
  "👩🏻‍🤝‍👩🏼": {...},
}
@muan muan mentioned this issue Oct 3, 2021
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
@muan and others