4 ms·
codepoint -> encoding in UTF-8 U+022F -> C8 AF U+042F -> D0 AF U+062F -> D8 AF Remember, UTF-8 is self-synchronising: when you pick u
by rdancer 10y ago
codepoint -> encoding in UTF-8
U+022F -> C8 AF
U+042F -> D0 AF
U+062F -> D8 AF
Remember, UTF-8 is self-synchronising: when you pick up at a random point within a stream, there is no ambiguity as to whether you are in the middle of a sequence or not. Valid lower codepoints appearing in the encoding of higher codepoints would violate this property.