in reply to Re^2: Problem with escape sequence \x for hex with spaces "\x{ 263A }"
in thread Problem with escape sequence \x for hex with spaces "\x{ 263A }"
"I think if you want to change STDOUT globally for the debugger, some of the unicode flags in perlrun should do. (untested)"
I tried all of these:
$ perl -C -de1 ... $ perl -de1 ... DB<1> use open OUT => qw{:encoding(UTF-8) :std} ... $ perl -Mopen=OUT,:encoding\(UTF-8\),:std -de1 ...
All gave the "Wide character ..." warning. All still printed "☺". There's probably other avenues of investigation for a global change: I didn't try anything further.
— Ken
In Section
Seekers of Perl Wisdom