summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorKarl Williamson <khw@cpan.org>2017-12-27 18:34:35 -0700
committerKarl Williamson <khw@cpan.org>2017-12-27 18:39:18 -0700
commit8b4b6c863324f3d2cb5bea593da5ed4216d6c8ea (patch)
tree5b7c7f28b463175e63a9642e43edd594b02302be /lib
parentd6c0a908f812aa795342ded140e4added56979b0 (diff)
downloadperl-8b4b6c863324f3d2cb5bea593da5ed4216d6c8ea.tar.gz
lib/utf8.pm: Further clarification of UTF-8 flavor
Commit 50a85cfe6c852deb0c2f738cb82006623052dc8e clarified that this module uses Perl's extended UTF-8, but missed the mention fixed in this commit.
Diffstat (limited to 'lib')
-rw-r--r--lib/utf8.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/utf8.pm b/lib/utf8.pm
index 7bb65773b1..ea3c655586 100644
--- a/lib/utf8.pm
+++ b/lib/utf8.pm
@@ -255,7 +255,8 @@ C<utf8::upgrade($string)> unconditionally.
=item * C<$flag = utf8::valid($string)>
[INTERNAL] Test whether I<$string> is in a consistent state regarding
-UTF-8. Will return true if it is well-formed UTF-8 and has the UTF-8 flag
+UTF-8. Will return true if it is well-formed Perl extended UTF-8 and has the
+UTF-8 flag
on B<or> if I<$string> is held as bytes (both these states are 'consistent').
Main reason for this routine is to allow Perl's test suite to check
that operations have left strings in a consistent state.