分类: 系统运维
2005-10-15 22:13:08
修改安装目录下的lib/BackupPC/CGI/Lib.pm文件:
--- Lib.pm.org 2005-10-15 21:47:12.000000000 +0800
+++ Lib.pm 2005-10-15 21:47:42.442243763 +0800
@@ -216,7 +216,7 @@
$s =~ s/"/"/g;
$s =~ s/>/>/g;
$s =~ s/</g;
- $s =~ s{([^[:print:]])}{sprintf("%02X;", ord($1));}eg;
+# $s =~ s{([^[:print:]])}{sprintf("%02X;", ord($1));}eg;
return $s;
}
@@ -425,6 +425,7 @@
);
my $host = $In{host};
+ $Cgi->header(-charset=>'gb2312');
print $Cgi->header();
print <