In perl.git, the branch blead has been updated <http://perl5.git.perl.org/perl.git/commitdiff/49f4c4e423fa15e3da8c813a7526bb78740f9018?hp=f2ead8b816519a65496980beeb8606954f270d43>
- Log ----------------------------------------------------------------- commit 49f4c4e423fa15e3da8c813a7526bb78740f9018 Author: Karl Williamson <[email protected]> Date: Sat Jun 30 22:04:23 2012 -0600 Fix up pod references to deprecated function ----------------------------------------------------------------------- Summary of changes: pod/perlguts.pod | 3 ++- pod/perlunicode.pod | 5 ++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/pod/perlguts.pod b/pod/perlguts.pod index fcc9811..8f3ed0c 100644 --- a/pod/perlguts.pod +++ b/pod/perlguts.pod @@ -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? diff --git a/pod/perlunicode.pod b/pod/perlunicode.pod index 4692e34..44b5f71 100644 --- a/pod/perlunicode.pod +++ b/pod/perlunicode.pod @@ -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 * -- Perl5 Master Repository
