Help for this page

Select Code to Download


  1. or download this
    my(%encoding,%decoding);
    
    ...
        }
        return wantarray?@arg:$arg[-1];
    }
    
  2. or download this
    sub UTF8::ord ($) {
        my $chr = shift;
    ...
            return ($ord[0] & 0x1F)<<6 | $ord[1] & 0x3F;
        }
    }