707
708
709
710
711
712
713
714
715
716
717
718
719
720
|
* src points to non-trail byte; We ran out of trail bytes
* before the needs of the lead byte were satisfied.
* Let the (malformed) lead byte alone be a character
*/
return src + 1;
}
next++;
}
return next;
}
/*
*---------------------------------------------------------------------------
*
|
>
>
>
|
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
|
* src points to non-trail byte; We ran out of trail bytes
* before the needs of the lead byte were satisfied.
* Let the (malformed) lead byte alone be a character
*/
return src + 1;
}
next++;
}
if (Overlong(src)) {
return src + 1;
}
return next;
}
/*
*---------------------------------------------------------------------------
*
|