diff options
author | Karl Williamson <public@khwilliamson.com> | 2012-02-11 14:54:24 -0700 |
---|---|---|
committer | Karl Williamson <public@khwilliamson.com> | 2012-02-11 14:55:34 -0700 |
commit | 27f00e3d3ab119f7ef8f547e70d739672e381ebd (patch) | |
tree | b1856b7d16fc80d943a0fa83cdfc6673c248fbec | |
parent | 7496853526e339fe5a8c7b812cd82f3693777e02 (diff) | |
download | perl-27f00e3d3ab119f7ef8f547e70d739672e381ebd.tar.gz |
perldelta: Note is_utf8_char_buf() and is_utf8_char()
-rw-r--r-- | pod/perldelta.pod | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/pod/perldelta.pod b/pod/perldelta.pod index 862ba21077..fb4166b73f 100644 --- a/pod/perldelta.pod +++ b/pod/perldelta.pod @@ -130,6 +130,12 @@ and ZWNBSP for ZERO WIDTH NO-BREAK SPACE. More details on this version of Unicode are provided in L<http://www.unicode.org/versions/Unicode6.1.0/>. +=head2 Added C<is_utf8_char_buf()> + +This function is designed to replace the deprecated L</is_utf8_char()> +function. It includes an extra parameter to make sure it doesn't read +past the end of the input buffer. + =head1 Security XXX Any security-related notices go here. In particular, any security @@ -138,6 +144,13 @@ L</Selected Bug Fixes> section. [ List each security issue as a =head2 entry ] +=head2 Use C<is_utf8_char_buf()> and not C<is_utf8_char()> + +The latter function is now deprecated because its API is insufficient to +guarantee that it doesn't read (up to 12 bytes in the worst case) beyond +the end of its input string. See +L<is_utf8_char_buf()|/Added is_utf8_char_buf()>. + =head1 Incompatible Changes XXX For a release on a stable branch, this section aspires to be: @@ -190,6 +203,12 @@ listed as an updated module in the L</Modules and Pragmata> section. [ List each deprecation as a =head2 entry ] +=head2 C<is_utf8_char()> + +This function is deprecated because it could read beyond the end of the +input string. Use the new L<is_utf8_char_buf()|/Added is_utf8_char_buf()> +instead. + =head1 Performance Enhancements XXX Changes which enhance performance without changing behaviour go here. There |