On 12/18/25 14:16, Rob Pike wrote: > It was written for UTF (sic), not UTF-8, which was non-synchronizable and > therefore ambiguous so care needed to be taken when looking for byte > sequences. It stayed around after that. It may not be necessary, although > without checking I can't say whether it behaves the same as strstr when > illegal UTF-8 encodings occur. >
Thanks! That makes sense. ------------------------------------------ 9fans: 9fans Permalink: https://9fans.topicbox.com/groups/9fans/T8831073f8b8bb351-M65fc39da67f62ef7c3b081e6 Delivery options: https://9fans.topicbox.com/groups/9fans/subscription
