valid_utf8
i = valid_utf8(q);
i = valid_utf8(p);
i = valid_utf8(&p[isrc]);
unsigned valid_utf8(const char *);