@a6ff0b2b @40275da3 @38bc5aa1 @874ff3d1 Different character. The test was "🤦🏼♂️" (U+1F926 U+1F3FC U+200D U+2642 U+FE0F) not "🤦" (U+1F926). My copy of Perl (which is admittedly old) prints 5 for the first, not 1.
@f9f64f99 @40275da3 @38bc5aa1 @874ff3d1 Ah, yeah, Perl will need a little help there, for legacy reasons. But just a little! A one-line function should do it, I think. https://files.mastodon.social/media_attachments/files/111/176/816/123/001/070/original/825fb44e98204de9.png