Your skill will accomplish what the force of many cannot |
|
PerlMonks |
Re: Forcing UTF-8 output on STDOUTby choroba (Cardinal) |
on Feb 10, 2021 at 19:36 UTC ( [id://11128194]=note: print w/replies, xml ) | Need Help?? |
Do you really want to send the output to a file named STDOUT? If not, use binmode instead of open:
Using :encoding(UTF-8) instead of :utf8 would turn on some useful checking, too.
map{substr$_->[0],$_->[1]||0,1}[\*||{},3],[[]],[ref qr-1,-,-1],[{}],[sub{}^*ARGV,3]
In Section
Seekers of Perl Wisdom
|
|