]> git.donarmstrong.com Git - debbugs.git/blobdiff - examples/debian/postpa/22oldbugs
use UTF-8 encoding for 22oldbugs output
[debbugs.git] / examples / debian / postpa / 22oldbugs
index bff889dfc82d8df3ea09eb091f347a1720995a29..126aa4686aac474bf87859f031db0bb9dfdb8889 100755 (executable)
@@ -64,6 +64,7 @@ my $nrbugs = keys %oldpackage;
 
 open OLDBUGS, '> /org/bugs.debian.org/www/stats/oldbugs.html.new'
     or die "can't open oldbugs.html.new: $!";
+binmode(OLDBUGS,':encoding(UTF-8)');
 print OLDBUGS <<EOF or die "can't write to oldbugs.html.new: $!";
 <html><head><title>Bugs Over Two Years Old</title></head>
 <body>