The stupid question is the question not asked | |
PerlMonks |
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 ( [id://11144689]=note: print w/replies, xml ) | Need Help?? |
I think you need to append 'O' for "Output" to the '-C' (my CMD-terminal has CP 850 so no emojis, sorry °)
UPDATE (codepage)°) ah found the way to change the codepage
PM's codeblocks are limited here², thats what I see ---> ☺ (sic)
update (pre tags)²) or with <pre><tt> tags instead
C:\tmp>perl -CO -wde0 ... DB<1> print "\x{263A}" ☺ DB<2>
Cheers Rolf
In Section
Seekers of Perl Wisdom
|
|