News for hackers. Stuff that matters.
Re:UTF-8 is a brilliant design by kbolino on Saturday September 13, 2025 @09:41AM (#45232015)
Yep, you're right. Those two bytes are forbidden to prevent overlong encodings. A number of multibyte sequences are forbidden for the same reason too.

A true flaw of UTF-8 in the long run. They should have biased the values of multibyte sequences to remove redundant encodings.

There are no comments on this comment yet.