日期:2014-05-17  浏览次数:20754 次

response.write 输出乱码
function   WebMenu()
    response.write " <table   width= '160 '   border= '0 '   cellspacing= '0 '   cellpadding= '0 '> "
    response.write   " <tr   class= 'WebMenu '> <td   width= '24 '> <img   src= 'Images/Arrow_03.gif '   width= '13 '   height= '13 '> </td> "   &_
                                  " <td> <a   href= 'JobsList.asp '> 招聘信息 </a> </td> </tr> "
    response.write   " <tr   class= 'WebMenu '> <td   width= '24 '> <img   src= 'Images/Arrow_03.gif '   width= '13 '   height= '13 '> </td> "   &_
                                  " <td> <a   href= 'MemberTalent.asp '> 我的应聘 </a> </td> </tr> "
    response.write " </table> "
end   function
用 <%=WebMenu()%> 输出
页面本来好好的,去了一个 <tr> </tr> 后页面成乱码
<%@Language= "vbscript "   Codepage= "65001 "%>
<%   response.charset= "utf-8 "   %>
<meta   http-equiv= "Content-Type "   content= "text/html;   charset=utf-8 "   >
都用上了,还是没解决




------解决方案--------------------
或者用
<%
WebMenu()
%>
输出
------解决方案--------------------
代码没完整一般不会出现你所说传到空间后出现这样的问题!