Help for this page

Select Code to Download


  1. or download this
    After $utf8 = decode('foo', $octet); ,
    
    ...
      In ISO-8859-1                              ON
      In any other Encoding                      ON
      ---------------------------------------------
    
  2. or download this
    #use utf8;
    #use encoding 'iso-8859-1';
    ...
    $a=Encode::decode('iso-8859-1',$a);
    $b=Encode::decode('iso-8859-1',$b);
    print "a=",Encode::is_utf8($a)," b=",Encode::is_utf8($b),"\n\n";
    
  3. or download this
    ${^UNICODE}=63
    a= b=
    a=1 b=1