utf8.c
/*
=for apidoc is_utf8_char

DEPRECATED!

Tests if some arbitrary number of bytes begins in a valid UTF-8
character.  Note that an INVARIANT (i.e. ASCII on non-EBCDIC machines)
character is a valid UTF-8 character.  The actual number of bytes in the UTF-8
character will be returned if it is valid, otherwise 0.

This function is deprecated due to the possibility that malformed input could
cause reading beyond the end of the input buffer.  Use L</is_utf8_char_buf>
instead.

=cut */
for apidoc is_utf8_char
DEPRECATED!

Tests if some arbitrary number of bytes begins in a valid UTF-8
character.  Note that an INVARIANT
character is a valid UTF-8 character.  The actual number of bytes in the UTF-8
character will be returned if it is valid, otherwise 0.

This function is deprecated due to the possibility that malformed input could
cause reading beyond the end of the input buffer.  Use L
instead.

cut
for apidoc is_utf8_char DEPRECATED! Tests if some arbitrary number of bytes begins in a valid UTF - 8 character . Note that an INVARIANT character is a valid UTF - 8 character . The actual number of bytes in the UTF - 8 character will be returned if it is valid otherwise 0 . This function is deprecated due to the possibility that malformed input could cause reading beyond the end of the input buffer . Use L instead . cut
STRLEN
Perl_is_utf8_char(const U8 *s)
{
    PERL_ARGS_ASSERT_IS_UTF8_CHAR;
    return is_utf8_char_buf(s, s + UTF8SKIP(s));
}
STRLEN Perl_is_utf8_char ( const U8 * s ) { PERL_ARGS_ASSERT_IS_UTF8_CHAR ; return is_utf8_char_buf ( s , s + UTF8SKIP ( s ) ) ; }
for apidoc is_utf8_char
DEPRECATED!
for apidoc is_utf8_char DEPRECATED!
/* Assumes we have enough space, which is why this is deprecated */