While I was writing my new article I found out about really cool thing I am going to share with you.
Check out this emoji containing 4 people ๐ฉโ๐ฉโ๐ฆโ๐ฆ.
While I was trying to delete ๐ฉโ๐ฉโ๐ฆโ๐ฆ in VSCode using backspace it
didn't disappear, but it just changed to this ๐ฉโ๐ฉโ๐ฆ. After hitting another backspace it changed to ๐ฉโ๐ฉ then to ๐ฉ and then it finally disappeared. So it goes
๐ฉโ๐ฉโ๐ฆโ๐ฆ โซ ๐ฉโ๐ฉโ๐ฆ โซ ๐ฉโ๐ฉ โซ ๐ฉ โซ
Why this happens?
When we look on the decoded symbols, we can see that the symbols are equal to this in hex:
๐ฉโ๐ฉโ๐ฆโ๐ฆ: 0x1f469 0x200d 0x1f469 0x200d 0x1f466 0x200d 0x1f466
๐ฉโ๐ฉโ๐ฆโ๐ฆ: 0x1f469 0x200d 0x1f469 0x200d 0x1f466
๐ฉโ๐ฉ: 0x1f469 0x200d 0x1f469
๐ฉ: 0x1f469
While 0x200d character is a "ZERO WIDTH JOINER" which tells the renderer, that the preceding and following characters should join each other. ๐
So it is like ๐ฉ + ๐ฉ + ๐ฆ + ๐ฆ.
Cool isn't it?
PS:
Removing of single woman works as well, so this ๐ฉโ๐ฆโ๐ฆ can transformed to the hex code like this: 0x1f469 0x200d 0x1f466 0x200d 0x1f466
Top comments (0)