summaryrefslogtreecommitdiff
path: root/lib/utf8.pm
diff options
context:
space:
mode:
authorKarl Williamson <public@khwilliamson.com>2013-05-16 21:35:23 -0600
committerKarl Williamson <public@khwilliamson.com>2013-05-20 08:59:12 -0600
commit637ec54ef44f10a0b6f371f2f653ef2e7ec946d6 (patch)
treeb1c20227a50a7a50365f8cc77e10d4ad82d09fca /lib/utf8.pm
parent76cccc4deff40bc50fcd772af902f85d4cb7554c (diff)
downloadperl-637ec54ef44f10a0b6f371f2f653ef2e7ec946d6.tar.gz
lib/utf8.pm: Pod clarification and nit
Diffstat (limited to 'lib/utf8.pm')
-rw-r--r--lib/utf8.pm8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/utf8.pm b/lib/utf8.pm
index a23209198a..820d1ef4b8 100644
--- a/lib/utf8.pm
+++ b/lib/utf8.pm
@@ -2,7 +2,7 @@ package utf8;
$utf8::hint_bits = 0x00800000;
-our $VERSION = '1.11';
+our $VERSION = '1.12';
sub import {
$^H |= $utf8::hint_bits;
@@ -169,15 +169,15 @@ L<Encode>.
=item * $flag = utf8::is_utf8(STRING)
-(Since Perl 5.8.1) Test whether STRING is encoded internally in UTF-8.
-Functionally the same as Encode::is_utf8().
+(Since Perl 5.8.1) Test whether STRING is marked internally as encoded in
+UTF-8. Functionally the same as Encode::is_utf8().
=item * $flag = utf8::valid(STRING)
[INTERNAL] Test whether 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
on B<or> if STRING is held as bytes (both these states are 'consistent').
-Main reason for this routine is to allow Perl's testsuite to check
+Main reason for this routine is to allow Perl's test suite to check
that operations have left strings in a consistent state. You most
probably want to use utf8::is_utf8() instead.