Firefox中的选项卡在加载时显示不正确的字符集

Firefox中的选项卡在加载时显示不正确的字符集,firefox,character-encoding,tabs,Firefox,Character Encoding,Tabs,在加载内容时,Firefox(在Ubuntu、Windows、MacOs中)显示第二个不正确的字符集(即捷克字母)。加载内容时,它会显示适当的字符集。 Safari、Explorer、Opera在正确加载时显示选项卡 Html头是 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head>

在加载内容时,Firefox(在Ubuntu、Windows、MacOs中)显示第二个不正确的字符集(即捷克字母)。加载内容时,它会显示适当的字符集。 Safari、Explorer、Opera在正确加载时显示选项卡

Html头是

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<link rel="shortcut icon" href="favicon.ico">
<title><?=$lang_header_dict;?></title>
<meta name="description" content="<?=$lang_head_description?>">
<meta name="keywords" content="<?=$lang_head_content?>">
<meta name="author" content="<?=$lang_head_author?>">
<meta http-equiv="X-UA-Compatible" content="IE=7">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link rel="stylesheet" type="text/css" title="hvalur" href="style.css">   
<script type="text/javascript"> 
function setfocus() {
document.form1.search_string.focus();
}
function popitup(url) {
newwindow=window.open(url,'name','height=400,width=800, scrollbars=yes');
if (window.focus) {newwindow.focus()}
return false;
}
</script>
</head>

放置元标记

<meta http-equiv="Content-Type" content="text/html; charset=utf-8">

以前

显示正确的字符集和国家字符。

放置元标记

<meta http-equiv="Content-Type" content="text/html; charset=utf-8">

以前


显示正确的字符集和国家字符。

即使在标题行之前有元行,页面的字符集也可能被Apache的默认字符集覆盖。这是故意的

要解决此问题,请将以下内容添加到配置文件中:

AddDefaultCharset Off

请参阅:

即使在标题行之前有meta行,页面的字符集也可能被Apache的默认字符集覆盖。这是故意的

要解决此问题,请将以下内容添加到配置文件中:

AddDefaultCharset Off

请参阅:

testcase链接?我猜您没有在HTTP response.testcase链接中指定字符集吧?我猜您没有在HTTP响应中指定字符集。