Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
WhoooItsMe
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
4 ms
·
1.
▲
by
WhoooItsMe
9y ago
Not quite, UTF-8 encodes the length of the sequence in the first byte, instead of marking the end, this makes more sense because it is easier to detect broken input. 1110xxxx 10xxxxxx 0xxxxxxx obviously has a byte missing and is broken, but