new TextEncoder().encoding === 'utf-8' // β trueAll TextEncoder instances use UTF-8; it is the only supported encoding.
The Euro sign 'β¬' (U+20AC) requires 3 bytes in UTF-8.
UTF-8 encodes code points > U+07FF using 3 or 4 bytes. U+20AC encodes as 0xE2 0x82 0xAC.
Challenge: Verify that encode('β¬').length === 3.