Help for this page

Select Code to Download


  1. or download this
    use Encode      qw( encode decode );
    use URI::Escape qw( uri_escape );
    ...
    
    # Prints OverlordQ/R%C4%ABga-Herson-Astrahan
    print(join('/', @uri_components), "\n");
    
  2. or download this
      DB<18> x $str
    0  'http://en.wikipedia.org/w/api.php?prop=revisions&format=xml&titles
    +=User:OverlordQ/R&#299;ga-Herson-Astrahan&action=query&rvlimit=20'
    
  3. or download this
      DB<24> x $str
    0  'http://en.wikipedia.org/w/api.php?prop=revisions&format=xml&titles
    +=User:OverlordQ/R%C3%84%C2%ABga-Herson-Astrahan&action=query&rvlimit=
    +20'
    
  4. or download this
    #!/usr/bin/perl
    use strict;
    use warnings;
    ...
            my $string = shift;
            return utf8::is_utf8($string);
    }