Help for this page

Select Code to Download


  1. or download this
    s!JPCHARS!ascii chars!;
    
  2. or download this
    s!0x80! !;
    
  3. or download this
    my $str1 = qq(あ);
    my $str2 = qq(え);
    
    ...
    print unpack "H2", $str2; #gives me e3
    printf("0x%02x\n", $str1); #gives me 0x00
    printf("0x%02x\n", $str2); #gives me 0x00