Re:UTF-8 history (2003)
by kstenerud on Thursday October 10, 2019 @06:30AM
(#21212810)
You can also trivially defend against that by having a max travel distance of, say, 4.
[ Parent
| on HN ]
Re:UTF-8 history (2003)
by mirekrusin on Saturday October 12, 2019 @09:41PM
(#21237700)
Exactly, so you arrived at the same conclusion - fixed distance so you can safely pick up stream at arbitrary position.
The difference is that the distance limits would be inherent to the codec itself, rather than taking up extra space in the data stream.