请ASP高手帮忙看下改下这些乱码~!

来源:百度知道 编辑:UC知道 时间:2024/07/07 05:44:11
<!--#include file="upload.inc"-->
<%
set upload=new upload_file
if upload.form("act")="uploadfile" then
filepath=trim(upload.form("filepath"))
filelx=trim(upload.form("filelx"))

i=0
for each formName in upload.File
set file=upload.File(formName)

fileExt=lcase(file.FileExt) 'μ?μ?μ????tà??1??2?o?óD.
if file.filesize<100 then
response.write "<span style=""font-family: ??ì?; font-size: 9pt"">???è??????òaé?′?μ????t£???[ <a href=# onclick=history.go(-1)>??D?é?′?</a> ]</span>"
response.end
end if
if (filelx<>"swf") and (filelx<>"jpg") then
response.write "<span style=""font-family: ??ì?; font-size: 9pt"">?????tààDí2??üé?′?£???[ <a href=# onclick=history.go(-1)>??D?é?′?</a> ]</span>"

上面说的是对的!朋友你以后要注意呀!
节贴给他分吧!呵呵

你这个问题我以前碰到过,花了我很多时间,终于找到了解决办法。
方法如下:
请在你的代码中的<head>后面,或文件的开头部份加上以下语句
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
保存后重新调入,代码就OK了