This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Fix up pod references to deprecated function
authorKarl Williamson <public@khwilliamson.com>
Sun, 1 Jul 2012 04:04:23 +0000 (22:04 -0600)
committerKarl Williamson <public@khwilliamson.com>
Sun, 1 Jul 2012 04:13:48 +0000 (22:13 -0600)
pod/perlguts.pod
pod/perlunicode.pod

index fcc9811..8f3ed0c 100644 (file)
@@ -2642,7 +2642,8 @@ is what makes Unicode input an interesting problem.
 In general, you either have to know what you're dealing with, or you
 have to guess.  The API function C<is_utf8_string> can help; it'll tell
 you if a string contains only valid UTF-8 characters. However, it can't
-do the work for you. On a character-by-character basis, XXX C<is_utf8_char>
+do the work for you. On a character-by-character basis,
+C<is_utf8_char_buf>
 will tell you whether the current character in a string is valid UTF-8. 
 
 =head2 How does UTF-8 represent Unicode characters?
index 4692e34..44b5f71 100644 (file)
@@ -1545,9 +1545,8 @@ are valid UTF-8.
 
 =item *
 
-C<is_utf8_char(s)> returns true if the pointer points to a valid UTF-8
-character.  However, this function should not be used because of
-security concerns.  Instead, use C<is_utf8_string()>.
+C<is_utf8_char_buf(buf, buf_end)> returns true if the pointer points to
+a valid UTF-8 character.
 
 =item *