Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re^2: Simplest Possible Way To Disable Unicode

by BrowserUk (Pope)
on May 25, 2011 at 10:17 UTC ( #906627=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    print unpack 'S', pack 'S', 65537;;
    1
    ...
    
    print unpack 'Q', pack 'Q', 2**64+1;;
    18446744073709551615
    
  2. or download this
    print unpack 'C', pack 'C', 2**8+1;;
    Character in 'C' format wrapped in pack at (eval 17) line 1, <STDIN> l
    +ine 9.
    1
    
  3. or download this
    $s = chr( 257 );;
    
    print do{ use bytes; length $s, unpack 'C*', $s };;
    2 196 129
    
  4. or download this
    print $s, length $s;;
    Wide character in print at (eval 19) line 1, <STDIN> line 11.
    &#9472; 1
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (3)
As of 2021-04-18 00:56 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?