Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re^2: Default encoding rules leave me puzzled...

by ikegami (Pope)
on Jun 20, 2014 at 18:56 UTC ( #1090671=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    $ perl -e'print pack "C*", 0..255;' | od -t x1
    0000000 00 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f
    ...
    0000340 e0 e1 e2 e3 e4 e5 e6 e7 e8 e9 ea eb ec ed ee ef
    0000360 f0 f1 f2 f3 f4 f5 f6 f7 f8 f9 fa fb fc fd fe ff
    0000400
    
  2. or download this
    $ perl -MEncode=encode -E'
       $_ = pack "C*", 0..255;
       say $_ eq encode("iso-latin-1", $_) ? "same" : "diff";
    '
    same
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (14)
As of 2014-12-19 13:09 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (82 votes), past polls