diff options
author | Karl Williamson <khw@cpan.org> | 2016-08-28 22:04:16 -0600 |
---|---|---|
committer | Karl Williamson <khw@cpan.org> | 2016-08-31 20:32:37 -0600 |
commit | 2b6852c008f43c765471849e5576c5425c5d9e23 (patch) | |
tree | 3cdd8f02788e9061d090782ed6be525887204a92 /regen/unicode_constants.pl | |
parent | 4dab108fb5e7e21a547733bb00ddb5d8bffd936d (diff) | |
download | perl-2b6852c008f43c765471849e5576c5425c5d9e23.tar.gz |
Use new is_utf8_valid_partial_char()
This new function can be used in the implementation of the file test
operators, -B and -T, to see if the whole fixed length buffer is valid
UTF-8. Previously if all bytes were UTF-8 except the bytes at the end
that could have been a partial character, it assumed the whole thing was
UTF-8. This improves the prediction slightly
Diffstat (limited to 'regen/unicode_constants.pl')
0 files changed, 0 insertions, 0 deletions