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)