summaryrefslogtreecommitdiff
path: root/common/cs-hack.pl
blob: 7f1c1eeb43d379b29aa71ab868292ef18681790b (plain)
1
2
3
4
5
6
7
8
#!/bin/perl -- # -*- Perl -*-

# Charset hacking...

while (<>) {
    s/\&\#(\d+);/sprintf("\\U-%04X;", $1)/egs;
    print;
}