Clear active rounds on changing active tournament.
[ccbs] / parse / parse-ddrfreak-songlist.pl
index c2fc231..d4f3e5c 100644 (file)
@@ -85,6 +85,13 @@ while (<>) {
                $songname = "$songname ($artist)";
        }
 
+       # Some HTML -> UTF-8 stuff
+       $songname =~ s/&hearts;/\xe2\x9d\xa4/g;
+       $songname =~ s/&forall;/\xe2\x88\x80/g;
+       $songname =~ s/&#9733;/\xe2\x98\x85/g;
+       $songname =~ s/&#233;/\xc3\xa9/g;
+       $songname =~ s/<sup>2<\/sup>/\xc2\xb2/g;
+
        # minimal SQL escaping
        $songname =~ s/'/\\'/g;
        $artist =~ s/'/\\'/g;