- added utf8 to output filter and added encoding of file names
[BackupPC.git] / lib / BackupPC / CGI / Lib.pm
index 3c7c9bd..d6dc53f 100644 (file)
@@ -431,6 +431,7 @@ sub Header
     );
     my $host = $In{host};
 
+    binmode(STDOUT, ":utf8");
     print $Cgi->header(-charset => "utf-8");
     print <<EOF;
 <!doctype html public "-//W3C//DTD HTML 4.01 Transitional//EN">