网站后台输入中文,网页上显示乱码
我在网站后台输入内容时,一直显示“远程文件收集中”..然后点多几次“入库”会弹出以下窗口生成的页面中,中文显示乱码或空白,英文和数字显示正常
在另外一台电脑上可以显示正常,是不是我的电脑缺少什么东西啊?
谢谢
补充:每个网页都是这样的
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link href="images/css.css" rel="stylesheet" type="text/css" />
这个没问题的...
附源码:
<!--#include file="inc/conn.asp" -->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link href="images/css.css" rel="stylesheet" type="text/css" />
<title><%=title%></title>
<meta name="keywords" content="<%=keywords%>">
<meta name="description" content="<%=descriptions%>">
<style type="text/css">
<!--
body {
background-color: #FFFFFF;
margin-left: 0px;
margin-top: 0px;
margin-right: 0px;
margin-bottom: 0px;
}
-->
</style>
</head>
<body>
<table width="1007" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td><!--#include file="top.asp" --></td>
</tr>
<tr>
<td><br><table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td height="500" valign="top"><div style="margin-top:4px ">
<table width="98%" border="0" align="center">
<tr>
<td width="2%"><img src="images/1.gif" width="6" height="15"></td>
<td width="98%"> 现在位置是 > <b>科研队伍</b></td>
</tr>
<tr>
<td colspan="2"><br>
<br>
<%
set rs=server.CreateObject("adodb.recordset")
sql="select * from [BigClass] "
rs.open sql,conn,1,1
if rs.eof and rs.bof then
response.Write("没有分类")
else
do while not rs.eof
%>
<table width="939" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td width="16" height="12" > </td>
<td width="627" height="12" ><b><%=rs("BigClassName")%></b></td>
<td width="57" background="images/productlist_bg.jpg"></td>
</tr>
<tr>
<td height="11" colspan="3" ><span class="dbt"><img src="images/xian5.gif" width="939"
height="7" /></span></td>
</tr>
<tr>
<td colspan="5" td="Td"></td>
</tr>
<tr >
<td colspan="3"><table width="745">
<%
set rs1=server.createobject("adodb.recordset")
sql1="select * from product where BigClassName='" & rs("BigClassName") & "' order by id desc "
rs1.open sql1,conn,1,1
if rs1.eof or rs1.bof then
response.Write("<td align=center height=150>...</td>")
else
i=1
do while not rs1.eof
%>
<td width="320"><table width="150" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="150"><table width="142" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF">
<tr>
<td width="34"> </td>
<td width="158" ><div align="center"><a href="teamlist.asp?id=<%=rs1("id")%>"><%=rs1("title")%></a></div></td>
</tr>
</table></td>
</tr>
</table></td>
<%if i mod 5 =0 then response.Write("</tr>")
i=i+1
rs1.movenext
loop
end if
rs1.close
%>
</tr>
</table></td>
</tr>
</table>
<%
rs.movenext
loop
end if
rs.close
%>
</td>
</tr>
</table>
</div></td>
</tr>
</table></td>
</tr>
<tr>
<td><!--#include file="foot.asp" --></td>
</tr>
</table>
</body>
</html>
<script>
function show(BigClassID)
{
whichEl = eval("hidden"+BigClassID);
if (whichEl.style.display == "none")
{eval("hidden"+BigClassID+".style.display=\"\";");}
else
{eval("hidden"+BigClassID+".style.display=\"none\";");}
}
</script>
[ 本帖最后由 lmcrtj 于 2011-10-8 15:16 编辑 ]