There is a test case with:
[240,162,138,147,17] # ^ true
However since there are more than 4-bytes isn't this automatically an invalid utf-8 encoding?
A character in UTF8 can be from 1 to 4 bytes long
Looks like your connection to LeetCode Discuss was lost, please wait while we try to reconnect.