krb5int_utf8_strcspn
size_t krb5int_utf8_strcspn( const char* str, const char *set);
end = &begin[krb5int_utf8_strcspn(begin, sep)];