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.
-rob ------------------------------------------ 9fans: 9fans Permalink: https://9fans.topicbox.com/groups/9fans/T8831073f8b8bb351-Mc0a8f3e30279a0099c29c8e3 Delivery options: https://9fans.topicbox.com/groups/9fans/subscription
