Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re^4: Problem with escape sequence \x for hex with spaces "\x{ 263A }" (update: codepage)

by LanX (Sage)
on Jun 11, 2022 at 10:37 UTC ( #11144689=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    C:\tmp>perl -we" binmode STDOUT, ':utf8'; print qq[\x{263A}] "
    ║
    ...
      DB<1> print "\x{263A}"
    &#9553;
      DB<2>
    
  2. or download this
    C:\tmp>CHCP 65001
    Aktive Codepage: 65001.
    ...
      DB<1> print "\x{263A}"
    &#9786;
      DB<2>
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11144689]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (3)
As of 2022-12-09 00:00 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?