Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re^2: Simplest Possible Way To Disable Unicode

by BrowserUk (Patriarch)
on May 25, 2011 at 10:17 UTC ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://906627]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others exploiting the Monastery: (4)
As of 2024-04-20 09:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found