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
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^4: Problem with escape sequence \x for hex with spaces "\x{ 263A }" (update: codepage)
by LanX (Saint) on Jun 11, 2022 at 10:37 UTC | |
by kcott (Archbishop) on Jun 11, 2022 at 19:03 UTC | |
by LanX (Saint) on Jun 11, 2022 at 19:40 UTC | |
by Your Mother (Archbishop) on Jun 11, 2022 at 10:55 UTC |
In Section
Seekers of Perl Wisdom