Fixed so the form shows the current active tournament.
[ccbs] / parse / parse-ddrfreak-songlist.pl
index c2fc231d05fc324368bbf6f73ad3a9e7b2ee7eb5..d4f3e5c937d5e0f742de21a6df97efb6f46addc5 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;