Skip to content

Commit 16ef187

Browse files
committed
perlapi: Clarify isUTF8_CHAR()
1 parent abecf2e commit 16ef187

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

utf8.h

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -897,9 +897,10 @@ point's representation.
897897
=for apidoc Am|STRLEN|isUTF8_CHAR|const U8 *s|const U8 *e
898898
899899
Evaluates to non-zero if the first few bytes of the string starting at C<s> and
900-
looking no further than S<C<e - 1>> are well-formed UTF-8 that represents some
901-
code point; otherwise it evaluates to 0. If non-zero, the value gives how many
902-
many bytes starting at C<s> comprise the code point's representation.
900+
looking no further than S<C<e - 1>> are well-formed UTF-8, as extended by Perl,
901+
that represents some code point; otherwise it evaluates to 0. If non-zero, the
902+
value gives how many many bytes starting at C<s> comprise the code point's
903+
representation.
903904
904905
The code point can be any that will fit in a UV on this machine, using Perl's
905906
extension to official UTF-8 to represent those higher than the Unicode maximum

0 commit comments

Comments
 (0)