Re:The history of UTF-8 as told by Rob Pike (2003)
by Safety1stClyde on Thursday April 08, 2021 @08:42AM
(#26737998)
Unicode was originally meant to fit everything into 16 bits. UTF-8 is just a way to encode, it doesn't decide what goes into Unicode.
[ Parent
| on HN ]
Re:The history of UTF-8 as told by Rob Pike (2003)
by chrisseaton on Thursday April 08, 2021 @09:44AM
(#26738580)
> UTF-8 is just a way to encode, it doesn't decide what goes into Unicode.
If UTF-8 had not had sequences above 3 bytes, you would not have been able to use it to express Unicode characters as high as Emoji which would certainly have hampered their adoption, is what the person you're replying to means.
Re:The history of UTF-8 as told by Rob Pike (2003)
by a1369209993 on Thursday April 08, 2021 @06:48PM
(#26744769)
While your conclusion is largely correct, it doesn't follow from your premises: UTF-16 is just a way to encode, but its brain-damaged surrogate pair mechanism very much did get baked into Unicode (namely, high and low surrogate code points D800-DFFF).