Perl / perl5

🐪 The Perl programming language
https://dev.perl.org/perl5/
Other
1.95k stars 554 forks source link

bytes_to_utf8: Don't redo work #22640

Closed khwilliamson closed 1 week ago

khwilliamson commented 2 weeks ago
We have gone to some trouble to find the first UTF-8 variant character in the input string. There is no need to look again for variants in the portion of the string that we have already determined doesn't have any such variants. This missing statement appears to have been an oversight.