Perl / perl5

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

uvoffuni_to_utf8_flags_msgs(): Return proper bit #22783

Closed khwilliamson closed 1 week ago

khwilliamson commented 1 week ago

This replaces #22779, which I accidentally closed, and could not reopen

More rigorous testing, yet to be committed, showed that this was returning the wrong bit in some circumstances. It is supposed to return the bit corresponding to the most restrictive flag that is passed as input to the function