Help for this page

Select Code to Download


  1. or download this
    # preparation
    my %subst = map({ chr($_) => "&#$_;" } 0 .. 255),
    ...
    s/([&<>'"\177-\377])/$subst{$1}/g;
    
    print;
    
  2. or download this
    ma&#238;tre d&#39;h&#244;tel