X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=cgi%2Fpkgreport.cgi;h=eb7a61a2101600c9196bed3ca1f8eafaf8e73293;hb=37fa4f5e9b7218b8a909f2c0502a12c6b7f5303e;hp=d29c3abc7ff56943a7a0a2196be16e5560bda857;hpb=f1fc9ededf793c53d996bf672294b29abcb84ec4;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);