X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=cgi%2Fpkgreport.cgi;h=eb7a61a2101600c9196bed3ca1f8eafaf8e73293;hb=77c408ee20907046e136167f0bd61b3242e0dd46;hp=d29c3abc7ff56943a7a0a2196be16e5560bda857;hpb=d61a76fc5e1b52929a02705c07ac03936fd14244;p=debbugs.git diff --git a/cgi/pkgreport.cgi b/cgi/pkgreport.cgi index d29c3ab..eb7a61a 100755 --- a/cgi/pkgreport.cgi +++ b/cgi/pkgreport.cgi @@ -18,9 +18,7 @@ BEGIN{ delete @ENV{qw(IFS CDPATH ENV BASH_ENV)}; } -# STDOUT should be in utf8 mode -binmode(STDOUT,':utf8'); - +binmode(STDOUT,':encoding(UTF-8)'); use POSIX qw(strftime nice); use Debbugs::Config qw(:globals :text :config);