When "Zoë" !== "Zoë". Or why you need to normalize Unicode strings | With Blue Ink
"the dog emoji 🐶 has the code point U+1F436.
When encoded, the dog emoji can be represented in multiple byte sequences:
UTF-8: 4 bytes, 0xF0 0x9F 0x90 0xB6
UTF-16: 4 bytes, 0xD83D 0xDC36
console.log('🐶'.length) // => 2