X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=cgi%2Fbugreport.cgi;h=0a66311f71909229ddeb7f2bf8d5ac03c5cbfe3c;hb=f80f89b38a88a0d8fe5558e3b9ce34c8f1f42e2d;hp=8ad688f6923b501ea836557574b2a63f881c738a;hpb=15ca5d2d237c11d84fd760c003b842915f003893;p=debbugs.git diff --git a/cgi/bugreport.cgi b/cgi/bugreport.cgi index 8ad688f..0a66311 100755 --- a/cgi/bugreport.cgi +++ b/cgi/bugreport.cgi @@ -8,6 +8,9 @@ BEGIN{ delete @ENV{qw(IFS CDPATH ENV BASH_ENV)}; } +# STDOUT should be using the utf8 io layer +binmode(STDOUT,':utf8'); + use POSIX qw(strftime); use MIME::Parser; use MIME::Decoder;