Converted entities to their respective literals with the following Perlscript
authorÆvar Arnfjörð Bjarmason <avar@users.mediawiki.org>
Sun, 27 Mar 2005 02:25:25 +0000 (02:25 +0000)
committerÆvar Arnfjörð Bjarmason <avar@users.mediawiki.org>
Sun, 27 Mar 2005 02:25:25 +0000 (02:25 +0000)
commit05d705aa7111ad181149d8715529242d186a821a
tree6d6cce3b0c925b5d3e5d2e3085efc659e1d21d47
parenteb0489b5da4ee3a3e1824a1741bdf60fc67bf2a5
Converted entities to their respective literals with the following Perlscript
#!/usr/bin/evn perl
use utf8;
use HTML::Entities;
binmode STDOUT, ":utf8";
@file = <>;

$file = join /\n/, @file;

for $i (0..length $file) {
        if ( (substr($file, $i, 1) eq '&') and (substr($file, ($i+1), 1) eq '#') ) {
                $eat = 1; # Yummie entities
                undef $food;
                next;
        } elsif ($eat && substr($file, $i, 1) eq '#') {
                next;
        } elsif ($eat && substr($file, $i, 1) =~ /\d/) {
                $food .= substr($file, $i, 1);
                next;
        } elsif ($eat && substr($file, $i, 1) =~ /;/) {
                undef $eat;
                $out .= chr($food);
                undef $food;
                next;
        }
        $out .= substr($file, $i, 1);
}

$out = decode_entities($out);
print $out;
languages/Names.php