mirror of
https://github.com/webmin/webmin.git
synced 2026-09-21 13:00:38 +01:00
FIx garbled characters (utf-8)
This commit is contained in:
@@ -31,7 +31,7 @@ if ($gconfig{'showlogin'}) {
|
||||
}
|
||||
&PrintHeader();
|
||||
print "<!doctype html public \"-//W3C//DTD HTML 3.2 Final//EN\">\n";
|
||||
print "<html><head><title>$title</title></head>\n";
|
||||
print "<html><head><meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\"><title>$title</title></head>\n";
|
||||
print "<frameset rows='$rows,*' border=0>\n";
|
||||
$goto = &get_goto_module();
|
||||
if ($goto) {
|
||||
|
||||
@@ -39,10 +39,11 @@ elsif (!$cats{$in{'cat'}}) {
|
||||
# Display title and categories
|
||||
&PrintHeader();
|
||||
print <<EOF;
|
||||
<!doctype html public \"-//W3C//DTD HTML 3.2 Final//EN\">
|
||||
<!doctype html public "-//W3C//DTD HTML 3.2 Final//EN">
|
||||
<HTML>
|
||||
|
||||
<HEAD>
|
||||
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=UTF-8">
|
||||
<LINK REL="stylesheet" TYPE="text/css" HREF="style.css">
|
||||
</HEAD>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user