Pathologically Eclectic Rubbish Lister | |
PerlMonks |
Re: strftime does not handle Unicode characters in format argument properly (at least, not consistently)by choroba (Cardinal) |
on Sep 21, 2020 at 19:08 UTC ( [id://11122025]=note: print w/replies, xml ) | Need Help?? |
When I add use utf8; and correctly set the encoding of the output, it seems to work:
Update: I used the $nbsp here, as PerlMonk replaces the non-breakable space with a normal ASCII space, but it works with the nbsp character directly in the script, too.
map{substr$_->[0],$_->[1]||0,1}[\*||{},3],[[]],[ref qr-1,-,-1],[{}],[sub{}^*ARGV,3]
In Section
Seekers of Perl Wisdom
|
|