P is for Practical | |
PerlMonks |
Re^6: Seeking Perl docs about how UTF8 flag propagatesby choroba (Cardinal) |
on May 17, 2023 at 08:07 UTC ( [id://11152244]=note: print w/replies, xml ) | Need Help?? |
> However substr() appears to propagate it only if the resulting substring has characters above 0x7f What do you mean by "appears"? I tried the following:
Running it through 2>&1 | grep FLAGS outputs
Update: Fixed the encoding of the code.
map{substr$_->[0],$_->[1]||0,1}[\*||{},3],[[]],[ref qr-1,-,-1],[{}],[sub{}^*ARGV,3]
In Section
Seekers of Perl Wisdom
|
|